Welcome to WebmasterWorld Guest from 220.127.116.11 , register , free tools , login , search , subscribe , help , library , announcements , recent posts , open posts Subscribe to WebmasterWorld
How can I make an Entire List Item Clickable ? ifuturz msg:4469137 8:17 am on Jun 25, 2012 (gmt 0) How can I make an Entire List Item Clickable ?
g1smd msg:4469144 8:31 am on Jun 25, 2012 (gmt 0)
<li><a href="/path/file" title="pop up title">anchor text</a></li>
rocknbil msg:4469303 4:19 pm on Jun 25, 2012 (gmt 0)
Right, don't jump through hoops to make an unnatural object a link. You can, but the anchor is the natural element for this. Whatever styles you have on <li> to render its display, apply those to the anchor instead. Hint: anchors are inline by default, you might have to set display:block. g1smd msg:4469310 4:27 pm on Jun 25, 2012 (gmt 0)
It's quite natural for each list item of a list to be a separate link. I can think of several scenarios beyond the standard navbar code. rocknbil msg:4469698 3:44 pm on Jun 26, 2012 (gmt 0)