Jump to content
|Topic||Stats||Last action by|
|The Big Wrestling Thread!||
|Rufus 2.0 Build 639||
|Study on penises reveals the average size ... and it's smaller than you think||
|PS4 sales top 20.2 million units worldwide||
|LAPD Officers Shoot Man Five Times in Broad Daylight||
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