[WSG] Using CSS to select a tag having an ID attribute: page served as application/xhtml+xml

2009-12-17 Thread Grant Bailey
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

RE: [WSG] Using CSS to select a tag having an ID attribute: page served as application/xhtml+xml

2009-12-17 Thread Grant Bailey
Sorry everyone, I just discovered what the problem was: I have multiple style sheets and the browsers were only applying one, not two as required, due to my misuse of the 'name' attribute of the stylesheet instruction, as illustrated below. This was incorrect: ?xml-stylesheet

Re: [WSG] Using CSS to select a tag having an ID attribute: page served as application/xhtml+xml

2009-12-17 Thread Yuval Ararat
Am i the only one missing the name attribute in the samples? On Thu, Dec 17, 2009 at 8:00 PM, Grant Bailey grant_malcolm_bai...@westnet.com.au wrote: Sorry everyone, I just discovered what the problem was: I have multiple style sheets and the browsers were only applying one, not two as

RE: [WSG] Using CSS to select a tag having an ID attribute: page served as application/xhtml+xml

2009-12-17 Thread Grant Bailey
Yuval, I don't understand your message - did I miss something? Grant -Original Message- From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] On Behalf Of Yuval Ararat Sent: Thursday, 17 December 2009 10:11 PM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Using CSS to

Re: [WSG] Using CSS to select a tag having an ID attribute: page served as application/xhtml+xml

2009-12-17 Thread Yuval Ararat
Sorry for the double post, gmail/firefox are going mad. in the sample code non of the tags carry the attribute name. On Thu, Dec 17, 2009 at 11:14 PM, Grant Bailey grant_malcolm_bai...@westnet.com.au wrote: Yuval, I don't understand your message - did I miss something? Grant

[WSG] Never get bored

2009-12-17 Thread giribabu vuppula
Hi,I have moved to Indyarocks. Now you can check out my photos, videos and blogs all at one place :-)Send messages to any mobile in India and also get access to Movies, Games,Cricket and Music, all for Free.Click on the link below to view my latest profile and pics as and when i upload themLink:

Re: [WSG] Using CSS to select a tag having an ID attribute: page served as application/xhtml+xml

2009-12-17 Thread Stuart Foulstone
It might be that xml requires lowercase only and that the problem is the H in the id div_Heading. On Thu, December 17, 2009 8:41 am, Grant Bailey wrote: Hello, I've recently started serving my web pages as xml pages using the MIME type application/xhtml+xml rather than text/css as

Re: [WSG] Using CSS to select a tag having an ID attribute: page served as application/xhtml+xml

2009-12-17 Thread Lucien Stals
I don't kow the answer to this question but I just wanted to clarify that XML *does not* require lowercase only. XML *is* case sensitive so that in XML p/P would not be valid, but p/p and P/P are. On 18/12/2009, at 7:07 AM, Stuart Foulstone wrote: It might be that xml requires lowercase