Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#1 2006-04-14 02:25:17
- KB
- Member
- Registered: 2006-03-13
- Posts: 21
Separation of links in a list, if names exceed one line
In the link lists I use, some of the titles/links are longer than one line and it is hard to tell them them apart. I would like to use a hanging indent (ie. the first line of the link starts at the margin, but if there is a second line, it would be indented a little). How can I format the linklist to achieve this? Thanks.
Offline
#2 2006-04-14 07:00:35
- marios
- Archived Plugin Author
- Registered: 2005-03-12
- Posts: 1,253
Re: Separation of links in a list, if names exceed one line
Try something like this:
<code>#linklist ul
{padding:5px;}
#linklist li
{text-indent: -5px;
padding:0;}</code>
regards
⌃ ⇧ < ⎋ ⌃ ⇧ >
Offline