Mam taky problem..Jaksi mi nefunguje v IE hodnota margin-bottom. Totiz
.stred mam prilepenu uplne k spodnemu borderu
#middle ,aj ked mam nastavene margin-bottom. A tiez
#middle mi v IE neposunie zhora (top) o 7px ale o nejakych 27px. Neviete v com by mohol byt problem?? Ako to opravit??
CSS:
Kód:
#bottom {
width: 800px; height: 30px; margin: 0 auto; padding-top: 10px; clear: both; background-color: black; color: white; text-align: center;
FONT-SIZE: 10px; font-weight: normal; font-family: Trebuchet, Verdana, Arial;
}
#middle {
height: auto; width: 782px; align: left; text-align: center; color: #27242b; background-color: white; margin: 7px 5px 10px 4px; padding: 0px; float: left;
border: 1px solid #cbcbcb
}
.stred {
height: auto; width: 660px; text-align: left; margin-bottom: 25px; float: left;
color: #27242b; background-color: white; border: 1px solid #cbcbcb
}
php:
Kód:
echo "
<div id=\"middle\">
<div class=\"stred\">
text
</div>
</div>
<div id=\"bottom\"> Pätička </div>
";