Firas wrote on 28 nov 2003 in comp.infosystems.www.authoring.stylesheets:

Signature
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Evertjan. wrote on 28 nov 2003 in
comp.infosystems.www.authoring.stylesheets:
> p {margin-left: 3em;}
> p:first-line {margin-left: 0em;}
Sorry, I pressed "send" bedfore I finished testing.
This does not work.

Signature
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Evertjan. - 28 Nov 2003 21:11 GMT
Evertjan. wrote on 28 nov 2003 in
comp.infosystems.www.authoring.stylesheets:
> Evertjan. wrote on 28 nov 2003 in
> comp.infosystems.www.authoring.stylesheets:
[quoted text clipped - 5 lines]
>
> This does not work.
But this does:
<style>
p {margin-left: 3em;text-indent: -3em;}
</style>

Signature
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jukka K. Korpela - 28 Nov 2003 22:16 GMT
>> p {margin-left: 3em;}
>> p:first-line {margin-left: 0em;}
>
> Sorry, I pressed "send" bedfore I finished testing.
> This does not work.
Right, or at least it should not work, since by the CSS specification,
there is just a small collection of properties that apply to
a :first-line pseudo-element, and margin properties aren't among them.
So the use of the text-indent property for p, as discussed elsewhere in
the thread, is the right way.

Signature
Yucca, http://www.cs.tut.fi/~jkorpela/
> Firas wrote on 28 nov 2003 in comp.infosystems.www.authoring.stylesheets:
>
[quoted text clipped - 8 lines]
> p {margin-left: 3em;}
> p:first-line {margin-left: 0em;}
Yeah, typing error, the above is what I meant I tried :)