I just experimented with horizontal drop-down nav. applying least amount of mark up I can get away with and still produce decent nav. http://codepen.io/jiri/full/vtwzl
@joshuanhibbert, great idea my friend, just tried it and it works. I see where you going with this. If I increase line height on parent or add hor. padding it will always work without resorting to adjusting magic number ha. Am I right?
I just experimented with horizontal drop-down nav. applying least amount of mark up I can get away with and still produce decent nav. http://codepen.io/jiri/full/vtwzl
Worked good in Chrome. Had to add to nav ul top:1.5em to make it work in FF. In IE10 it's not working right.
Edit: Got it working in IE by adding left:0 to nav ul
Have you thought about using
top: 100%;instead of a magic number?@joshuanhibbert, great idea my friend, just tried it and it works. I see where you going with this. If I increase line height on parent or add hor. padding it will always work without resorting to adjusting magic number ha. Am I right?
Exactly!
Thank you and Merry Christmas
Thanks. You too!