Cascade Style Sheet Beispiel: (Alle Elemente von Cascading Stylesheets Level 2 erklärt)

max-height


Funktioniert nur mit Netscape ab 6.x !!

max-height:150px; max-width:100px;

min-height:150px; min-width:100px;



<html>
<head>
<style type="text/css">
<!--
p.sample1 { 
position:absolute; 
top:20px;
left:150px;
max-height:150px;
max-width:100px;
border:solid 1px red}
p.sample2 {
position:absolute;
top:50px;
left:150px;
min-height:150px;
min-width:100px;
border:solid 1px blue
}
-->
</style>
</head>
<body>
Funktioniert nur mit Netscape ab 6.x !!
<p class="sample1">max-height:150px; max-width:100px;</p>
<p class="sample2">min-height:150px; min-width:100px;</p>
</body>
</html>

Ein Service von css.talky.de

weitere Beispiele Talky Counter 15.03.2010 04:21:20