Results 1 to 3 of 3

Thread: Relative positioning in IE6

  1. #1
    Join Date
    Oct 2006
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Relative positioning in IE6

    Hello there,

    Is there any known problem with IE6 and relative positioning?
    I have implemented relative positioning, it appears normal in FF but no effect in IE6.

    Thanx.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Not really. Are you sure you mean:

    Code:
    position:relative;
    ?

    IE 6 does not do:

    Code:
    position:fixed;
    That said, position:relative; can be influence by the align attribute and text-align property in the element itself or its parent or other ancestor(s) as well as by the <center> tag as a parent or ancestor element. In itself, position:relative; doesn't do a lot unless left:, top:, right:, and/or bottom: are specified. And, depending upon DOCTYPE, units must be specified, ex:

    Code:
    top:15px;
    not:

    Code:
    top:15;
    There are differences in the box model rendering in IE that can throw off positioning relatively though, it usually will still have some effect. Oddly, IE will allow position relative on a table cell (<td>) while FF will not.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Oct 2006
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    okie thanx for your answer..

    I have find a solution from another post you had answered.

    First i defined a blank relative div and after that a fixed div with proper offset.
    It worked for now..

    thanx

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
  •