Sent by Rich McCoy on 23 July 2004 12:12
Is there any way to ensure that padding is retained for every line of a link
when that link line breaks I have a situation similar to that bellow.
I have had to put the padding on the A to avoid the navigation giving layout
issues in FireFox etc as when placing it on li's which I would have
preferred to do it stacks the padding and makes thing look ugly, I want
child and parent to align to the left but away from the navigations border,
however when a line breaks the subsequent lines don't have the padding and
this looks nearly as bad.
<ul>
<li><a href="one.html">one</a></li>
<li><a href="two.html">two</a>
<ul>
<li><a href="twoone.html">two one</a></li>
<li><a href="twotwo.html">two two two two two two two two
two</a></li>
</ul>
</li>
<li><a href="three.html">three</a></li>
<li><a href="four.html">four</a></li>
</ul>
With the css of some thing simulre to
Ul
{
Border: 1;
Padding: 0;
Margin: 0;
With: 20px;
}
Ul a
{
Padding: 5px
}
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/