...

View Full Version : IE9 renders layout wrong, why?!



DavidZK
07-13-2011, 11:38 PM
I have a custom theme for my website powered by drupal.
My front page is coded and the layout is getting messed up in IE9!
part of the left column gets put into the content area...

so this is how my left column is coded in my page.tpl.php.


<?php if ($left): ?>
<div id= "leftcolumn" >
<?php print $left ?>
</div>
<?php endif; ?>

And on my style.css page its writen out like this.


#leftcolumn {
color: #XXX
padding: 0;
width: 185px;
float: left;
margin: 0px 0px 10px 15px;
display: none;
}


I dont have a layout issue with any other browser. Just IE9

tracknut
07-13-2011, 11:50 PM
#leftcolumn {
color: #XXX
padding: 0;
width: 185px;
float: left;
margin: 0px 0px 10px 15px;
display: none;
}


"XXX" isn't a legal color, and it needs to be followed by a semicolon. To diagnose much more, I'd need the whole code (preferably a link to the page), not just a part of it.

Dave



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum