Hi,

is there a reason why first-line does not allow change of text align?

eg.

<style>
.try {
        width: 200px;
        text-align: right;
}
.try:first-line {
        color: red;
        text-align: left;
        width: 200px;
}
</style>


<div class='try'>
        one<br />
        two<br />
        three<br />
</div>

'one' gets displayed in red, but will not be left aligned in Firefox, or IE 
5 (a bit of a shame and I
cant figure out why).

But however, this does work - so what is the difference?

<div class='try'>
        <span style='text-align: left; width: 200px'>one<br /></span>
        twoo<br />
        three<br />
</div>


Tony Martin


______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to