- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Tue, 01 Jun 2010 15:23:16 -0400
- To: "Belov, Charles" <Charles.Belov@sfmta.com>
- CC: www-style list <www-style@w3.org>, Daniel Glazman <daniel.glazman@disruptive-innovations.com>
On 6/1/10 3:12 PM, Belov, Charles wrote:
> No, Word 2003 generates filtered HTML such as
>
> <p style="text-align:justify;">
Which is fine.
> which I wish to override using CSS using
>
> p[style="text-align:justify;"] {
> text-align:left;
> }
This is what I claimed was rare. That doesn't help the few people
trying to do it, of course.....
Note that your situation happens to have a simple solution, though,
given the small scale and specific nature of what you're trying to do:
p[style="text-align: justify;"], p[style="text-align:justify;"] {
text-align: left;
}
This will obviously not work if the @style has more stuf in it, etc, but
neither did your original selector above.
-Boris
Received on Tuesday, 1 June 2010 19:23:52 UTC