SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Hybrid View

  1. #1
    SitePoint Addict explorer_pl's Avatar
    Join Date
    Dec 2004
    Location
    Poland
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    another float problem with IE

    hi everybody.

    i have an issue with my css. i guess its simple to solve, but i just couldn't find any answer. im sure its here, but after an hour of reading posts on IE float problems i thought i'll describe the problem myself.

    check this site out: http://bruteforce.polygon.pl/
    now switch between IE and FF. you'll see that in IE the whole content is moved a bit to the right, and the image to the left. the three columns (floading divs) should be aligned in one row.

    besides the divClearDivs is much bigger in IE than it should be.

    i think its because of the box model in IE, but i couldn't deal with this.

    can anyone help me by modifying my css file so everything looks in IE like it does in FF?

    thanks in advance.
    so little time, so much to do
    talk to me

  2. #2
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello

    double margin bug of IE , on first floats , see FAQ CSS

  3. #3
    SitePoint Addict explorer_pl's Avatar
    Join Date
    Dec 2004
    Location
    Poland
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey - thanks alot. that helped!

    but there's another problem. i have a divClearDivs wich doesn't have a margin, but height set to 30px.

    in FF its ok, but in IE it seems to be 60px or so... so its rather a "double height" problem. i've tried display:inline, but then in FF there is no space (so its like 0px). but in IE it gets a value of 30px (at least it seems so).

    any ideas on this one?
    so little time, so much to do
    talk to me

  4. #4
    Non-Member
    Join Date
    Jan 2005
    Location
    Netherlands
    Posts
    4,300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello

    haslayout problem in IE see also FAQ CSS
    *#divContent {height:1%;}

  5. #5
    SitePoint Addict explorer_pl's Avatar
    Join Date
    Dec 2004
    Location
    Poland
    Posts
    225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    heey! thanks alot!
    so little time, so much to do
    talk to me


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
  •