V for Vincent Posted December 10, 2007 Share Posted December 10, 2007 Whew, I cannot believe such a huge number of people is still using this friggin' thorn in my sight...Anyway, Hi, I'm working on a pretty simple website for a friend of my mom's and I cannot get the margins of the contents container (#inhoud in the Dutch-commented code) to be interpreted correctly in IE without losing my liquid layout. At least, I think the problem is in those margins, it's hard to tell when you don't have a web designer plugin... I'm not at all familiar with how IE bugs should be tackled, as I usually just strive for valid code in personal projects. This is meant as a form of publicity, however, so I can't ignore this most evil of browsers.I think the problem is in these lines: #inhoud {width: 80%;margin-top: 215px;margin-left: auto;margin-right: auto; /*grote marge langs boven om niet met de header te overlappen, vanonder niets*/} Help would be greatly appreciated. Link to comment Share on other sites More sharing options...
Synook Posted December 10, 2007 Share Posted December 10, 2007 Errr... the rest of your page would help us put that code into context. It looks fine currently. Link to comment Share on other sites More sharing options...
V for Vincent Posted December 11, 2007 Author Share Posted December 11, 2007 D'oh. I was just about to go to bed when I wrote that. The address is www.kunstruimte-yemaya.be. Link to comment Share on other sites More sharing options...
zppblood Posted December 11, 2007 Share Posted December 11, 2007 IE has a problem with block elements and margins with CSS. You can use a IE conditional comment tag with it's own code, and instead of using margin-left/right use text-align. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.