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?
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.
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘CSS’ is closed to new topics and replies.