stockwerk
Neues Mitglied
Hallo
Wenn was nicht funktioniert dann wieder mal beim IE oder meine ich das nur?
<!--[if IE 7]>
<style>
#content {
float:left;
}
</style>
<![endif]-->
wenn ich ich im CSS bei #content float: left; eingebe dann kommt es beim IE7 korrekt, aber beim FF fählt der ganze Content div runter.
und wenn ich das mit diesem <!--[if IE 7]> im html schreibe funktioniert es. Ist das korrekt so? also funktionieren tut es ja :-D


Wenn was nicht funktioniert dann wieder mal beim IE oder meine ich das nur?
<!--[if IE 7]>
<style>
#content {
float:left;
}
</style>
<![endif]-->
wenn ich ich im CSS bei #content float: left; eingebe dann kommt es beim IE7 korrekt, aber beim FF fählt der ganze Content div runter.
und wenn ich das mit diesem <!--[if IE 7]> im html schreibe funktioniert es. Ist das korrekt so? also funktionieren tut es ja :-D


HTML:
#content{
text-align: left;
min-height: 450px;
width: 800px;
border: 1px solid black;
border-color: #CCCCCC;
background: #FFFFFF url("images/menuliste.jpg") repeat-x left top;
width: 500px;
margin-top: 5px;
margin-right: 5px;
}
#content h1 {
text-align: center;
color: #FFFFFF;
font: 14px Tebuchet MS;
line-height: 22px;
}
#box {
width: 290px;
float: right;
min-height: 200px;
border: 1px solid black;
border-color: #CCCCCC;
border-style: solid;
margin-top: 5px;
background: #FFFFFF url("images/menuliste.jpg") no-repeat left top;
}
#box h2{
text-align: center;
color: #FFFFFF;
font: 14px Tebuchet MS;
line-height: 22px;
}
#boxu {
width: 290px;
float: right;
min-height: 100px;
border: 1px solid black;
border-color: #CCCCCC;
border-style: solid;
margin-top: 5px;
clear: both;
background: #FFFFFF url("images/menuliste.jpg") no-repeat left top;
}