Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    ie6 rendering problem

    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 to inspect the problems.

    I'll be very thankful for any input!

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,864
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Check you CSS file and remove duplicates like
    Code:
    .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.
    Last edited by abduraooft; 07-14-2008 at 09:28 AM.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    SSamiK (07-14-2008)

  • #3
    New to the CF scene
    Join Date
    Jul 2008
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    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!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •