Jump to content
|Topic||Stats||Last action by|
|Windows Server 2012 r2 Remote Desktop Setup||
|Is Microsoft ignoring the desktop again?||
|Tesla car, radar implications.||
|Which Virtual Machine and my own nvidia GPU?||
|The Big Wrestling Thread!||
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