Quote:
Originally Posted by Leonatus
I made a new test, setting the line-height of the whole paragraph to 0, with the result that all lines melted into one, and leaving only the first line to exceed a little. No doubt that the first letter has an - obviously unchangeable - effect on the height of the first line.
|
You just want the span to have a line height of 0.
CSS:
Code:
.bigletter {
font-size: 1.5em;
line-height: 0;
}
.noindent {
text-indent: 0;
}
HTML:
Code:
<P class="noindent"><span class="bigletter">T</span>This is a test."</p>