bin neu hier und bräuchte gleich mal Eure Hilfe
auf unserer HP verschiebt sich der content bei älteren ie versionen immer links unter die navigation. die seite ist mittig gestellt und der content rutscht ganz nach links unter die navigation. (möglicherweise weil navigation und content beide "float:left;" haben??)
im ie8 funkt die seite nur wenn bei "kompatibilitätsansicht" kein häckchen ist. wenn das häckchen angehakt ist, passiert das selbe siehe oben.
ich kopiere euch jetzt mal css und html-code hier rein.
vielleicht könnt ihr mir helfen, wäre ganz toll, da ja jeder unsere Site "normal" sehen sollte, da wir sehr viele klicks verzeichnen.
css:
*
{
font: 11px/140% Verdana, Geneva, Arial, Helvetica, sans-serif;
}
/* Typo
----------------------------------------------- */
a:link, a:visited
{
text-decoration: underline;
color: #EC4413;
}
a:active { text-decoration: underline; }
a:hover { text-decoration:none; }
h1 { font:bold 18px/140% "Trebuchet MS", Verdana, sans-serif; }
h2 { font:bold 18px/140% "Trebuchet MS", Verdana, sans-serif; }
/* Layout
----------------------------------------------- */
body
{
background: url(bgmc.jpg) repeat-x;
padding: 0% 0 0 0;
margin: 0;
width: 100%;
}
#container
{
padding: 0%;
margin: auto;
width: 1050px;
background: white;
hight: 1020px;
}
#header
{
hight: 115px; width: 1050px; background-color: FFFFFF#; padding-top: 0px;
}
#header h1,
#header a
{
padding: 0;
font-family: "Helvetica","Lucida Sans Unicode",Tahoma,Verdana,Arial,Helvetica,sans-serif;
font-size: 4%;
font-weight: 100%;
text-decoration: none;
line-height: 1.5em;
color: grey;
text-align: left;
widht: 1050px;
}
#header a:hover { text-decoration:none; }
#navigation
{
float: left;
width: 180px;
text-align: left;
padding-left: 20px;
background: grey;
padding-top: 20px;
padding-right: 20px;
hight: 900px;
}
#sidebar
{
padding-top: 5px;
padding-right: 0%;
background: #999999;
}
#content
{
float: left;
padding-left: 30px;
padding-right: 30px;
padding-top: 20px;
width: 770px;
background: white;
hight: 900px;
}
#footer
{
align: center;
clear: both;
margin: auto;
height: 40px;
background: #999999;
padding: 20px; 20px; 20px; 20px;
}
#footer .gutter
{
height: 0%;
padding: 0% 0% 0% 0%;
html:
<div id="container">
<div id="header" style="overflow:hidden; width: 1050px;"><img src="mcheaderr.jpg" height="115" alt="millennium cars" /></div>
<div id="navigation" style="background-color:#999999; height:900px;"><var>navigation[1|2|3]</var>
<div style="width:200px;top:+12px; height:32px; background-color:#999999"></div>
<div id="sidebar"><var>sidebar</var></div>
</div>
</div>
<div id="content" style="position:relative; padding-top:20px; height:900px;"><var>content</var></div>
<div id="footer" style="position:relative; width:1010px;"><var>footer</var></div>
<div class="gutter"></div>
<br />
freu mich jetzt schon auf eure hilfe
VIELEN DANK VORAB
Gruß TM

