Do all browsers support position:absolute?

Discussion in 'CSS' started by Imozeb, Mar 8, 2010.

  1. #1
    I want to overlap one of my div tags with another div tag. I am trying to use position:absolute and other css positioning codes to overlap it. I've seen some people say that some browsers don't support layers. So I was wondering if the position command constitues layers and therefore is not supported by all browsers.

    Thanks.
     
    Imozeb, Mar 8, 2010 IP
  2. drhowarddrfine

    drhowarddrfine Peon

    Messages:
    5,428
    Likes Received:
    95
    Best Answers:
    7
    Trophy Points:
    0
    #2
    There is no such thing as 'layers'. Yes, all graphical browsers support position:absolute.
     
    drhowarddrfine, Mar 8, 2010 IP
  3. Imozeb

    Imozeb Peon

    Messages:
    666
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Opps! :p I was thinking about frames. Okay, thanks for the reply.
     
    Imozeb, Mar 8, 2010 IP
  4. psdtowordpress

    psdtowordpress Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes, as long you don't use the obsolete IE 6, it's fine for your CSS
     
    psdtowordpress, Mar 12, 2010 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    Frames shouldn't be used either. Methinks you used the another term incorrectly.

    I'd have to see what it is you are trying to do to say if you are using a good approach. As a rule I avoid using absolute positioning unless it's inside a fixed container for something like gilder-levin image replacement or for things like cascading menus. If it's not one of those, you might be going about it 'all wrong'.

    Absolute positioning works just fine back to IE 5.x - what the devil are you on about? Just ragging on IE because you can even when it's total fiction? I mean at WORST you might have to throw a haslayout trigger at the parent element. (oh noes, height, width or the all dreaded zoom:1!)
     
    deathshadow, Mar 12, 2010 IP
  6. jj1

    jj1 Active Member

    Messages:
    892
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #6
    I read somewhere that you should have an absolute positioned div INSIDE a relative positioned div - have always followed advice though others may disagree. My sites are tested in ie6 7 8 firefox opera safari and chrome and seem to work ok in this.
     
    jj1, Mar 12, 2010 IP
  7. psdtowordpress

    psdtowordpress Peon

    Messages:
    38
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Most modern browsers like Opera, Chrome, IE +7, Safari and Firefox supports this feature.
    We work doing PSD TO WORDPRESS blogs in a daily basis and never had a problem
     
    psdtowordpress, Mar 29, 2010 IP
  8. WordPressThemes

    WordPressThemes Member

    Messages:
    232
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    28
    #8
    I hate IE6 and Love IE 8 :D any problems with CSS usually from IE6
     
    WordPressThemes, Mar 29, 2010 IP
  9. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #9
    There, fixed.

    Where the **** are people getting the idea absolute positioning doesn't work in IE6/earlier?!? Oh noes, you MIGHT have to throw a haslayout trigger at it...
     
    deathshadow, Mar 29, 2010 IP