#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2001
    Location
    Pakistan
    Posts
    31
    Rep Power
    13

    CSS absolute positioning in IE4 & IE5


    I am having problem with absolute positioning in IE5 and IE4. Basically I am using a pop up menu which is placed at absolute position with in a background.

    but 69 pixels from top is different in IE5 and IE4, so how do I make sure that both browsers show them at same positon.

    i hope that i have made myself clear.

    Haris

    edit:
    just noticed that

    body style="MARGIN: 0px;"
    is different in both browsers as well. IE4 is putting less white space at top than IE5. is this causing problem ??
    Last edited by dreamz; July 1st, 2002 at 07:02 AM.
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2002
    Location
    NJ, USA
    Posts
    91
    Rep Power
    12
    As an alternative to absolute positioning I use transparent gifs to position elements on a page.
    - Walt

    Will code for food.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2001
    Posts
    57
    Rep Power
    13
    there should not be any differences with positioning in version 4 and 5 in internet explorer..
    this should work the same:

    <div style="position:absolute; top:50px; left:50px"></div>

    but post some code please....

IMN logo majestic logo threadwatch logo seochat tools logo