Jump to content
|Topic||Stats||Last action by|
|The Big Wrestling Thread!||
|ACRONIS keeps failing no reason given||
|Small cockroach problem... Any way to produce a genocide?||
|Dumped woman spends a week in KFC to get over ex||
|Felicia Day writes post about #GamerGate, gets doxxed||
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