
10-21-2009
|
|
|
|
Re: CSS parser bug
Never mind. One of the documents was missing the document type directive.
Once I added that it parses correctly. Here is the directive:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
"Brad" <lane@newsgroup.nospam> wrote in message
news:CC48F87A-8508-4163-AA18-282878EA40FD@microsoft.com...
> I have found css syntax that IE 8 (and 7) does not handles consistently:
> sometmes does not yet other browsers, like firefox and safari, handles
> correctly.
>
> Here are examples of css syntax that is sometimes not handled
>
> .search td.ms-sbcell[class="ms-sbcell"]{}
>
> .search td[class="ms-sbcell"]{}
>
> The above two use class names and attribute selectors to apply css to a
> specific tabel cell (why I am doing it this way is irrelevant to the
> issue).
>
> If I use the IE developer tool to interogate the element these apply to it
> shows the correct style (in the styles view) but none of the styles is
> applied correctly. If sometime ones to look at examples I can list urls
> to
> two different web pages where viewed in IE, one works and the other does
> not,
> though both work in Firefox and Safari.
>
|