Hello,

I've recently started serving my web pages as xml pages using the MIME
type application/xhtml+xml rather than text/css as previously. This
works fine as my pages were already xhtml compliant, with one exception:
my external CSS stylesheets are no longer honoured by any browser to the
extent that they select ID attributes.

For example:

[XHTML]
<div id="div_Heading"> 
  <h1>Survival: the basics</h1>
</div>

[CSS]
#div_Heading {
border: thin black solid;
}

If I serve my page as text/css the border appears as expected but when
the page is served as application/xhtml+xml, no border is visible. There
is only one ID named div_Heading in the document and the document itself
validates.

Could someone please advise me what might be going wrong as I have been
unable to find anything of assistance on the web or in the WSG forums.

Many thanks and regards,

Grant Bailey




*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [email protected]
*******************************************************************

Reply via email to