View Full Version : ie6 rendering problem

07-13-2008, 10:05 PM
Hi, and thanks for reading my post!

I'm currently trying to modify the default Wordpress template, Kubrick, to fit my needs. I've gotten the page to look right in Firefox, Opera and IE7, but in IE6 it looks rather ugly, and I can't figure out why this is. The text in the body of my site should be centered, but in IE6 it shows to the right.
Any tips on how to do something with that?

There is, according to w3c's css validator, one error in my css and some warnings saying "same colors for color and background-color". I doubt they are causing the problem, but they would be nice to get rid of...

Please look at www.fisker-kokk.no (http://www.fisker-kokk.no) to inspect the problems.

I'll be very thankful for any input!

07-14-2008, 08:25 AM
Check you CSS file and remove duplicates like

.widecolumn {
/*float: left;*/
padding: 0 0 20px 45px;
/*margin: 0px 0 0;*/
width: 450px;
margin:0 auto;

.widecolumn {
padding: 10px 0 20px 0;
/*margin: 5px 0 0 150px;
width: 450px;*/
BTW, the above should center your text in IE also.

If we set a width(which is less than it's parent) and then set an auto value to the margin-left and margin-right, then it'll get align centered. In your case that float is completely unnecessary.

07-14-2008, 09:09 AM
Thanks, that seemed to fix the poblems that IE6 was having!
I must have misinterperted something when removing a sidebar, witch lead to duplicate .widecolumn instances. Anyway, thanks a million abduraooft!