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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    CSS padding/margin problem in IE6

    Hi all,

    I'm building a site at www.decrain.com/kaba/production

    It looks good in every browser except for IE6 where the bottom of the main content area has about a 2px white space.

    There should be no automatic padding or margins throughout the document, so I'm not quite sure what the problem is.

    I've embedded the css in the header, and commented it so it should be easy to read.

    Thanks for any help.

  • #2
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,695
    Thanks
    0
    Thanked 232 Times in 227 Posts
    Hi there decrain_1,

    and a warm welcome to these forums.

    Add this rule to your stylesheet...
    Code:
    
    #main img {
            display:block;
            }
    
    coothead

  • #3
    New to the CF scene
    Join Date
    Dec 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    perfect.

    thanks so much.

  • #4
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,695
    Thanks
    0
    Thanked 232 Times in 227 Posts
    No problem, you're welcome.


  •  

    Posting Permissions

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