I have a <ul> on my site with structure pretty much identical to this: http://jsfiddle.net/tRzPH/1/
The link is the portion with the blue border. What I am trying to get it to do is strech all the way to the green borders on the right and left, and to the orange borders on the top and bottom. But of course, maintaining the position of the actual text content.
I’m not sure how to go about doing this, especially because anchors are not supposed to be parent elements of list-items.
Any advice?
If I understand correctly this is what you’re trying to accomplish, right? You’ll need a bit of jQuery http://jsfiddle.net/elclanrs/tJ3kv/
html:
css:
jQ: