Forums

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

Home Forums CSS 456 Berea St's Navbar puzzle

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #158737
    photocurio
    Participant

    Roger Johansson of 456 Berea St wrote a post about coding a Full-Width Justified Vertically Centered Navbar. He came up with two ways to do it, but if he made the nav from a semantic list, he needed a jQuery script to get it to work correctly.
    does anyone know a CSS-only solution?

    #158782
    georgearnall
    Participant

    I doubt that there is another solution otherwise he would have covered it seen as it was only posted a few days ago, but I may be wrong?

    In my opinion, I don’t think that the second solution is a problem; it works right?
    Anyone reading the HTML would see it’s navigation because it is wrapped in <nav>.

    If it was me, I would just go for the CSS only method because keeping JS to a minimum in most cases makes for a faster page.

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