SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Thread: problem in IE

  1. #1
    SitePoint Zealot
    Join Date
    Jul 2006
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    problem in IE

    my friend is building a website for a client and he ran into a problem with an absolutely positioned column dissapearing in IE.

    the link is here:
    http://www.blairdee.info/CMP/new%20design/

    it seems to work fine in FF but in IE the left column dissapears.

    what am i doing wrong?

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You'd be far better off using floats and margins for this than absolute positioning. I don't have the time to re-write your layout, but I do have a couple examples here you can use to learn from:

    http://www.dan-schulz.com/temp/3columnlayout/ (this uses an advanced 100% document height setup)
    http://www.dan-schulz.com/temp/4columnlayout/

  3. #3
    SitePoint Zealot
    Join Date
    Jul 2006
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Dan Schulz View Post
    You'd be far better off using floats and margins for this than absolute positioning. I don't have the time to re-write your layout, but I do have a couple examples here you can use to learn from:

    http://www.dan-schulz.com/temp/3columnlayout/ (this uses an advanced 100% document height setup)
    http://www.dan-schulz.com/temp/4columnlayout/
    thats what i wanted to try and do but i had to do it quickly at the time and thats how dreamweaver was doing it so i went with it. i will have a look at your examples and see what i can make.

  4. #4
    SitePoint Zealot
    Join Date
    Jul 2006
    Posts
    118
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok i am missing something here - i just took a look at the code for the three column layout that you posted. both sidebar1 (left column) and sidebar2(right column) and specified as float: left.

    wouldn't sidebar2 be float:right?

    can you please explain that?

  5. #5
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,476
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sure (though I have to make it quick - I just got back from the hospital and am DEAD tired). Both sidebars are floated to the left to avod a bug in Internet Explorer 5 and 6. Note that they also have a negative left margin applied, which snaps them into place.


Bookmarks

Posting Permissions

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