Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Style Sheet disappears when content delivered as XHTML

 
   Web Hosting Problem Solving Community! (Home) -> Webmaster RSS
Related Topics:
how to create "style sheet" in frontpage?? - Hi there... As referred to the was abit loss on this.. would be if someone could guide me step by step.. Thanks (P.s: please reply to the group, as the email is a DUMMY address. thanks) --- this Outgoing mail is certified Virus..

Passing parameters to style sheet, e.g. "mystyle.css?color.. - How can I pass to my style sheets? I have noticed a couple of sites are now passing variables to the style sheet, which appear to be at run time. For example: <link

Anyone have a detailed product sheet? - Hi all; I'm looking for a detailed and varied product sheet in an Excel or CSV format in order to write a demo of a dynamic inventory display system. Ideally, I'd like a product listing with the following columns (or close to it): SKU

XHTML 1.0 vs. XHTML 1.1 - I find XHTML 1.1 pretty radical and difficult to implement in and high-end web sites. I was wondering if people really use it for web sites... I'm still using XHTML 1.0, which is easy to validate. How about you? -- ..

Netscape and xhtml/css - I tried this one on alt.html earlier today, but without any helpful Maybe I'll be more lucky around here.... I'm in the process of designing a new website, and there seems to be some sort of rendering problem when I opened it in Netscape 7.1;..
Next:  Bulk Toner Pulver - Where?  
Author Message
user3178

External


Since: Nov 18, 2004
Posts: 42



(Msg. 1) Posted: Sat Nov 20, 2004 3:56 pm
Post subject: Style Sheet disappears when content delivered as XHTML
Archived from groups: comp>infosystems>www>authoring>stylesheets, others (more info?)

This is weird. I have made a simple page using XHTML & CSS. It works great
on all browsers when the content is delivered as HTML:
http://www.auriance.com/clientes/cpe
However, when I deliver the content as XHTML, the style sheet is not
interpreted on Opera, Firefox and the Mozilla Suite:
http://www.auriance.com/clientes/cpe/index.php

Source code can be viewed here:
http://www.auriance.com/clientes/cpe/index.phps

I changed charset to iso-8859-1 and utf-8, same problem. What am I missing?

--

Kerberos.

http://www.opera.com
http://www.freebsd.org
http://www.osresources.com

 >> Stay informed about: Style Sheet disappears when content delivered as XHTML 
Back to top
Login to vote
steve1

External


Since: Aug 04, 2003
Posts: 8



(Msg. 2) Posted: Sat Nov 20, 2004 6:02 pm
Post subject: Re: Style Sheet disappears when content delivered as XHTML [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Sat, 20 Nov 2004 15:56:10 -0200, Kerberos <me.DeleteThis@privacy.net> wrote:

 >This is weird. I have made a simple page using XHTML & CSS. It works great
 >on all browsers when the content is delivered as HTML:
 >http://www.auriance.com/clientes/cpe
 >However, when I deliver the content as XHTML, the style sheet is not
 >interpreted on Opera, Firefox and the Mozilla Suite:
 >http://www.auriance.com/clientes/cpe/index.php

Because in XHTML a comment <!-- --> inside a <style> element really is
a comment. So all your styles are commented out.

It's almost always a good idea to use an external stylesheet anyway.

  Steve<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Style Sheet disappears when content delivered as XHTML 
Back to top
Login to vote
user3178

External


Since: Nov 18, 2004
Posts: 42



(Msg. 3) Posted: Sat Nov 20, 2004 6:19 pm
Post subject: Re: Thanks! [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Em Sat, 20 Nov 2004 18:02:31 +0000, Steve Pugh <steve.RemoveThis@pugh.net> escreveu:

 > Because in XHTML a comment <!-- --> inside a <style> element really is
 > a comment. So all your styles are commented out.
 >
 > It's almost always a good idea to use an external stylesheet anyway.
 >
  > Steve

That's right!! I removed these comments (that Dreamweaver added just in
case some one browses my site with Mosaic or Netscape 1.0!!), and it
worked just fine.
I read that comments were interpreted as such in XHTML PDF book, but until
I put into practice, I didn't really understand what this would mean.
Only Internet Explorer doesn't respect the XHTML specification. No
surprise Very Happy
Thank you anyway!

--

Kerberos.

<a style='text-decoration: underline;' href="http://www.opera.com" target="_blank">http://www.opera.com</a>
<a style='text-decoration: underline;' href="http://www.freebsd.org" target="_blank">http://www.freebsd.org</a>
<a style='text-decoration: underline;' href="http://www.osresources.com" target="_blank">http://www.osresources.com</a><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Style Sheet disappears when content delivered as XHTML 
Back to top
Login to vote
usenet200411

External


Since: Nov 01, 2004
Posts: 82



(Msg. 4) Posted: Sat Nov 20, 2004 6:23 pm
Post subject: Re: Style Sheet disappears when content delivered as XHTML [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Kerberos wrote:

 > However, when I deliver the content as XHTML, the style sheet is not
 > interpreted on Opera, Firefox and the Mozilla Suite:
<font color=purple> > <a style='text-decoration: underline;' href="http://www.auriance.com/clientes/cpe/index.php</font" target="_blank">http://www.auriance.com/clientes/cpe/index.php</font</a>>

What style sheet?

There is something that looks a bit like a stylesheet, but it starts with
"<!--" and ends with "-->", so it's a comment -- it's not a stylesheet.

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ <a style='text-decoration: underline;' href="http://tobyinkster.co.uk/contact" target="_blank">http://tobyinkster.co.uk/contact</a>
Now Playing ~ ./u2/stuck_in_a_moment_you_cant_get_out_of.ogg<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Style Sheet disappears when content delivered as XHTML 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]