Quote:
Originally Posted by 2939195631902
So there is no "best" practice or way to make a menu bar. Then could you break it down and explain both advantages and disadvantages of using:
1. <ul>
2. <div> with display: inline
3. <div> with float: left;
|
For menus i'm using lists because, imho, it's more semantic than divs. A menu practically is nothing than list. I think, using divs for a list, semantically, isn't correct.
All list items has already the inline-block attribute, so you can manage paddings, etc.. without adding inline-block in css.