Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS All Divs Position Relative

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #27255
    Bronson
    Member

    OK here it is.

    I’m working on a site that was developed by someone else at some other point in time. I have run into a line of CSS code that makes me scratch my head.

    div {
    position:relative;
    }

    Is this a wise thing to do on a global level?

    Does this help any cross browser issues or is this a bad premise to a worse conclusion?

    I want to know your opinions, so please feel free to speak as candidly as you like.

    Cheers
    Bronson

    #68335
    Chris Coyier
    Keymaster

    I don’t see any particular problem with it. I don’t see it solving any big issues either though… What is the reasoning?

    #68337
    Bronson
    Member

    It is my understanding that the original author was attempting to induce the has layout property in IE to illuminate potential cross browser issue. What i’m concerned about is stacking orders and z-index conflicts that may arise.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.