www.webdeveloper.com
Results 1 to 3 of 3

Thread: Two equal columns

  1. #1
    Join Date
    May 2006
    Posts
    81

    Two equal columns

    Ok, I'm trying something that should be easy to do but of course it doesn't work, at least in IE6.

    I'm trying to set up two equal width columns (divs) within a larger centered fixed-width div. I've given the divs for the columns different background colors (along with the main div) to show how they line up. The The page can be found at http://www.newstartchurch.net/testing.htm. Can someone tell me why this isn't working in IE6? I'm wanting to know why they aren't side by side.

  2. #2
    Join Date
    Mar 2006
    Location
    Newcastle NSW Australia
    Posts
    4,033
    Don't set the width of #rc - as you have a left margin of 50%, the div will automatically fill the remaining width.

    Also note that IE doesn't handle collapsing margins properly either, giving the different height displays (default margins on paragraph).

  3. #3
    Join Date
    May 2006
    Posts
    81
    Thanks!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles