![]() |
Word-Wrapping on LI's
Hello!
QUESTION I was wondering if it is possible to apply a sort of word-wrapping to an anchor tag that is inside of a List Item. I currently have a side navigation that is made out of an Unsorted List. List Items inside of this UL have a border-bottom applied to it so that it separates each item from the next one. My only problem is that the lengths of some of the anchor tags I have within the LI's are being word-wrapped in an odd manner, causing it to read: Seward County Sherrif's Posse" instead of Seward County Sheriff's Posse is there a way to set a word-wrap to the <a> tags so they wrap around after a certain width? The HTML Code:
<div id="subleftcolumn" class="grid_3 alpha">Code:
#subleftcolumn{ |
Hi dylanbaumannn,
I tried your code and it appears to wrap the way you want. Maybe you fixed it since you posted. Take a look: http://www.theeagleextra.com/testfil.../word-wrap.png |
The word wrap is correct in the example you provided, nothing is breaking at the wrong points. You could try using:
Code:
#subleftcolumn li a {Code:
#subleftcolumn li a { |
| All times are GMT +1. The time now is 06:25 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.