Hmm … why would I not have a page in the navigation?
Been playing around with the pseudo class “target”
Take a look at this test: https://vmedia.de/test/index.html
Then click on the link “MONTANA”’
There are some big drawbacks though:
- Since it uses the target tag, when the page is loaded, it scrolls to the target, which in this case, is the navigation. So it looks like the top of the page is a little bit cut off, because it scrolled down a few pixels when loaded.
- All your urls would look something like this: mypage.html#mytarget. It’s because of this drawback that I pretty much gave up on the idea.