|
No, I wasn’t saying that setting them to display as inline element is wrong per se, I meant that putting lis into anchors is wrong, even if you make them display: inline with CSS.
The HTML validator doesn’t care about CSS styles, it only cares about the HTML, and the only valid way is to put the anchors inside the list items, not vice versa. How you make the items look with CSS doesn’t matter. And setting display: inline on them is perfectly fine.
__________________
Don’t click this link!
|