Forums

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

Home Forums CSS difference between the absolute and relative attributes in the css

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

    Tell me when we have to use these attributes with some examples?

    #93686

    Setting an element’s position to relative allows you to use positioning while keeping the element in the document flow. Absolute positioning removes the element from the flow of the document. Each of these have their uses, and I would suggest you experiment with them to learn!

    #93688
    Mottie
    Member

    Check out this site for some great examples.

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