View Single Post
Old 11-07-2012, 10:37 AM   PM User | #4
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,587
Thanks: 5
Thanked 864 Times in 841 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
You can’t put list items inside anchor elements. Anchor is an inline element and list items are block-level elements, and block-level elements can’t go in inline elements. The other way around is possible, though.

That said, it’s really you choice which element you use for styling, especially with fonts which are inherited by children. I usually go from outside to inside, i. e. I style the outermost element(s) first and if some children require special treatment I style those.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote