OK, I have a list (<ul>
) then inside each <li>
element I have an <a...>
Here are all the applicable CSS items to the <a>
tag
.search_area li a {
font-size:11px;
}
sResCntr li {
list-style-type:none;
}
body {
font-family:Arial;
}
Everything looked great, until I put that font-size:11px in there. The problem is that the hyperlinks wrap to multiple lines within the list (which is fine). But when I decrease the font-size, the last line of the hyperlink always has a larger gap between it and the line above it than the other lines. All the other lines look good, but the last line looks like it is 1.5 spaced or something. I have adjusted the line-height property, but always the last line is larger than the rest.
If you need a demo to look at to see what I mean, I can arrange it when I get home.
here is some HTML:
<ul class="sResCntr">
<li>
<a id="blah" value="6048" href="blah blah"> This is some text that is really long. In fact so long it goes to multiple lines.
</a>
</li>
<li class="alt">
<a id="blah 2" value="5946" href="blah blah"> some more super long text which will wrap to multiple lines. In fact, hopefully, so long that it wraps to at least 3 lines in whatever container you put it
</a>
</li>
</ul
Of course, that has to be in a container which is fairly narrow (mine is 150px if I remember)