Forums

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

Home Forums CSS How do I align & position 4 divs with in 1 div? (SOLVED)

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #23933
    iasiis
    Member

    Hi everyone,

    I have been trying to find a solution to my problem for 2 days now via tutorials but have not had success.

    Firstly I am trying to get my top menu bar buttons to show up in a straight horizontal line right under the title image. I can get the first button to display with in the "nav" div but each succeeding button drops down a level falling out of the "nav" div.

    Secondly I am trying to position the buttons under the "title" div with pixel perfect precision because the sine wave pattern of the title picture flows into each of the buttons.

    And here is the code:

    Code:


    /* closing content */

    /* closing wrapper */

    Thanks for taking time out to looking my code over.
    Take care,
    IASIIS

    #52990

    You should be able to float the divs within #nav and have them all align to the left…

    #nav div { float:left; }

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