Forums

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

Home Forums CSS Need help positioning footer with floats @media queries

  • This topic is empty.
Viewing 7 posts - 16 through 22 (of 22 total)
  • Author
    Posts
  • #139408
    Paulie_D
    Member

    Yes, you’ll have to wrap the each heading and list in an element of some kind (a div or nav).

    Just like I showed you in my Codepen.

    http://codepen.io/Paulie-D/pen/rHLGx

    #139409
    expo703
    Participant

    Isn’t that what I did? I set f-gray-navigation as the

      then in CSS added the float: left, width, etc.
    #139410
    Paulie_D
    Member

    No….you have to wrap the h3 & ul etc in a div and float that.

    The reason what you have is not working is because the h3 is hindering the layout as it’s 100% wide…then the ul is floating **but** the next h3 stops the next ul floating up.

    If you wrap that h3/ul combo into a div and set a width on that then float the div, you should be fine.

    #139416
    expo703
    Participant

    awesome that made sense and it worked. Sorry for being so noob :) anyway to position it better do you suggest using the margin to center it? Or padding?I also added some text anyway to change text size and get ride of the bullet points?

    #139419
    Paulie_D
    Member

    If you have a div around each menu group then you can use the appropriate 960 class(es) to size each one and, my guess is, that will set the width and float them too.

    #139421
    expo703
    Participant

    so I want to put it in the div class like

    #139422
    Paulie_D
    Member

    Whatever the class is for 1/3 of the total width of the footer would be my guess.

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