Jump to content
|Topic||Stats||Last action by|
|GOG - losing rights to sell 35 games (and a sale on them)||
|Will GTA V For PC Be ‘Cancelled’?||
|Official Dogs vs Cats||
|mouse buttons not as smooth as it use to be||
|Judge Effectively Decriminalizes Polygamy in Utah||
Posted 27 February 2013 - 20:28
Posted 27 February 2013 - 20:33
Posted 27 February 2013 - 20:34
Posted 27 February 2013 - 20:39
"li" (list items) are the only valid child elements for "ul" and "ol" elements.
You can always change the anchor tags to display "block" or "inline-block". That will allow you to give them dimensions, and it will allow you to achieve the "whole li is clickable" functionality that you want.
Can't you set the LI to have zero padding, and then make the LI and the A block elements.
When you float the LI, they should collapse, but still be block level.
What part do you want center? The UL or each LI? Or just the text inside the LI?
You might need to force a width onto both the LI and A so that they take the same space up.
A link would help.....
Posted 27 February 2013 - 21:16
Posted 27 February 2013 - 21:18