Forums

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

Home Forums CSS Problems with positioning divs as trying to lay out page

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

    Hi everyone,

    I am totally new to CSS coding in terms of laying page layout (as I previously worked with tables) and therefore have problems with positioning.

    I have got a #header and trying to place 2 other divs (#logo, #address) in it. Which type of positioning should I use? Absolute or relative, or static? Whichever I use I end up in completely mess.

    Could anyone help?

    Peter

    #74712
    virtual
    Participant

    Read this it will help you understand the in and outs of positioning
    http://www.barelyfitz.com/screencast/ht … sitioning/

    #74829
    jkendo
    Member

    If you position your header as "relative" then the logo and address can both be positioned "absolute". You’ll have better control over exactly where they fall inside the header tag.

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