IE peculiarities again

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gregor Kofler

    IE peculiarities again

    This XHR generated tree (though the generation shouldn't be the reason)
    works perfectly ok in FF, Safari, Opera. Alas, not in IE.



    It seems as if the li elements of the tree have some sort of padding,
    though paddings and margins are set to zero. Setting a padding and
    increasing it, widens the gap. I've tried to throw in some generic
    "workaround s" like setting position to relative, line-height to 0, etc.
    Didn't help. And googling for IE and "padding margin bug" gives you
    zillions of hits. Perhaps somebody can point me to the proper bug
    description.

    Gregor


    --
    http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
    http://web.gregorkofler.com ::: meine JS-Spielwiese
    http://www.image2d.com ::: Bildagentur für den alpinen Raum
  • dorayme

    #2
    Re: IE peculiarities again

    In article <2XnWj.137$X85. 84@nntpserver.s wip.net>,
    Gregor Kofler <usenet@gregork ofler.atwrote:
    This XHR generated tree (though the generation shouldn't be the reason)
    works perfectly ok in FF, Safari, Opera. Alas, not in IE.
    >

    >
    It seems as if the li elements of the tree have some sort of padding,
    though paddings and margins are set to zero. Setting a padding and
    increasing it, widens the gap. I've tried to throw in some generic
    "workaround s" like setting position to relative, line-height to 0, etc.
    Didn't help. And googling for IE and "padding margin bug" gives you
    zillions of hits. Perhaps somebody can point me to the proper bug
    description.
    >
    Gregor
    Have no WinIE handy for now, but you might just put in a more usual
    doctype:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
    "http://www.w3.org/TR/html4/strict.dtd">

    --
    dorayme

    Comment

    • Gregor Kofler

      #3
      Re: IE peculiarities again

      dorayme meinte:

      Quick as usual...
      Have no WinIE handy for now, but you might just put in a more usual
      doctype:
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
      "http://www.w3.org/TR/html4/strict.dtd">
      Nope. Didn't help. I only tested it locally, since changing it means a
      modification to my PHP framework, and I don't want to update it right
      now. (So far all my projects have worked without (the optional) DTD and
      I suppose it shouldn't make a difference. But then... this is IE.)

      Gregor



      --
      http://photo.gregorkofler.at ::: Landschafts- und Reisefotografie
      http://web.gregorkofler.com ::: meine JS-Spielwiese
      http://www.image2d.com ::: Bildagentur für den alpinen Raum

      Comment

      Working...