4
n0ah
7y

Can someone explain to me why every browser (even IE) copys my acts <a> element and somehow moves my subnav outside of my <a> element?! (FUUUUUCK)

This is the html file:

Comments
  • 2
    Here is the view from the browser:
  • 1
    @okee all <a> are block elements, I also tried with inline or block-inline, doesn't matter :-(
  • 0
    @okee I will try it your way, but I still still wonder why all browsers copy one element and move another up in the dom-tree...
  • 2
    @okee Ok, it seems like nesting <a> elements is illegal:

    https://stackoverflow.com/questions...

    Thank you, I will then go with the ul>li way :)
Add Comment