Click here to get back home

css tags not being rendered

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
css tags not being rendered acb 08-17-2007
Get Chitika Premium
Posted by John Hosking on August 18, 2007, 7:13 am
Please log in for more thread options


acb wrote:
>> On Fri, 17 Aug 2007, acb wrote:
>>> Can anyone please shed some light on why an html document
>> Give URL!

If it works on GeoCities, I can't use it as a basis for debugging much,
but then, I can't stand GeoCities (or frames in general).

What I did notice from your code is that it's not valid. You've got more
than 60 errors in your CSS. Run the CSS through the validator at
http://jigsaw.w3.org/css-validator/ (and make sure your markup
validates, too). I bet that'll help a lot.

>>
>>> that starts as follows:
>>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
>>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>>> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
>>> is not rendering css tags read from a file?
>> ¿Qué?
>>
>> 1) Include the attribute type="text/css" .
>>
>> 2) Don't use XHTML but HTML 4.
>
> I have the attribute.
>
> Can you please be a bit more specific on point (2) - a link would do.

Andreas means, I am sure, use a doctype for HTML 4 (I'd say 4.01,
specifically) strict to avoid invoking quirks mode. Specifically, use
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

instead of the XHTML 1.0 doctype you have on pg2 and instead of the
missing doctype you (don't) have on pg1.


--
John
Pondering the value of the UIP: http://blinkynet.net/comp/uip5.html

Posted by acb on August 18, 2007, 9:08 am
Please log in for more thread options


wrote:
> acb wrote:
> >> On Fri, 17 Aug 2007, acb wrote:
> >>> Can anyone please shed some light on why an html document
> >> Give URL!
>
> If it works on GeoCities, I can't use it as a basis for debugging much,
> but then, I can't stand GeoCities (or frames in general).
>
> What I did notice from your code is that it's not valid. You've got more
> than 60 errors in your CSS. Run the CSS through the validator athttp://ji=
gsaw.w3.org/css-validator/(and make sure your markup
> validates, too). I bet that'll help a lot.
>
>
>
> >>> that starts as follows:
> >>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> >>> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> >>> <html xmlns=3D"http://www.w3.org/1999/xhtml" lang=3D"en" xml:lang=3D"=
en">
> >>> is not rendering css tags read from a file?
> >> =BFQu=E9?
>
> >> 1) Include the attribute type=3D"text/css" .
>
> >> 2) Don't use XHTML but HTML 4.
>
> > I have the attribute.
>
> > Can you please be a bit more specific on point (2) - a link would do.
>
> Andreas means, I am sure, use a doctype for HTML 4 (I'd say 4.01,
> specifically) strict to avoid invoking quirks mode. Specifically, use
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
> "http://www.w3.org/TR/html4/strict.dtd">
>
> instead of the XHTML 1.0 doctype you have on pg2 and instead of the
> missing doctype you (don't) have on pg1.
>
> --
> John
> Pondering the value of the UIP:http://blinkynet.net/comp/uip5.html

I just did that. It was the culprit and I am now starting to fix the
css tags (which I'v einherited from a relatively old system).

Thank you to everyone for their help.

Regards,
Al


Posted by John Hosking on August 18, 2007, 9:18 am
Please log in for more thread options


acb wrote:
> On Aug 18, 1:13 pm, John Hosking wrote:

<bulk snippage>

>>
>> What I did notice from your code is that it's not valid. You've got more
>> than 60 errors in your CSS. Run the CSS through the validator
athttp://jigsaw.w3.org/css-validator/(and make sure your markup
>> validates, too). I bet that'll help a lot.

<more snippage>

>> Andreas means, I am sure, use a doctype for HTML 4 (I'd say 4.01,
>> specifically) strict to avoid invoking quirks mode. Specifically, use
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
>> "http://www.w3.org/TR/html4/strict.dtd">
>>
>> instead of the XHTML 1.0 doctype you have on pg2 and instead of the
>> missing doctype you (don't) have on pg1.
>>
>> --
>> John
>> Pondering the value of the UIP:http://blinkynet.net/comp/uip5.html
>
> I just did that. It was the culprit and I am now starting to fix the
> css tags (which I'v einherited from a relatively old system).

*What* did you just do? Ponder the value of the UIP? That's the last
thing you quoted (although sigs aren't usually quoted anyway). But you
quoted my entire post, so it could be anything.

>
> Thank you to everyone for their help.

You're welcome, whatever it was.

--
John
Pondering the value of the UIP: http://blinkynet.net/comp/uip5.html

Posted by Scott Bryce on August 18, 2007, 9:53 am
Please log in for more thread options


acb wrote:
>>2) Don't use XHTML but HTML 4.
=
> Can you please be a bit more specific on point (2) - a link would do.


I found these searching alt.www.webmaster.

* Say No to XHTML an excellent article from Spartanicus
http://www.spartanicus.utvinternet.ie/no-xhtml.htm

* Beware of XHTML by David Hammond
http://www.webdevout.net/articles/beware_of_xhtml.php

* Sending XHTML as text/html Considered Harmful by Ian Hickson
http://www.hixie.ch/advocacy/xhtml

* XHTML's Dirty Little Secret by Mark Pilgrim
http://www.xml.com/pub/a/2003/03/19/dive-into-xml.html

* XHTML Is Dead by Tommy Olsson
http://www.autisticcuckoo.net/archive.php?id=2005/03/14/xhtml-is-dead

* XHTML - What's the Point? by Henri Sivonen
http://hsivonen.iki.fi/xhtml-the-point/

Posted by Harlan Messinger on August 19, 2007, 7:04 am
Please log in for more thread options


acb wrote:
> Hi,
>
> Can anyone please shed some light on why an html document that starts
> as follows:
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
>
> is not rendering css tags read from a file?

There's no such thing as tags in CSS, so what it is you think are being
read from a file? And if the CSS itself were being rendered, that would
be strange.

Similar ThreadsPosted
Style tags -- Eeek how obese these tags make HTML! November 8, 2006, 3:33 am
Meta Tags, Link Tags, other September 27, 2005, 3:29 pm
COL tags July 14, 2005, 11:30 am
overlapping tags October 26, 2004, 6:37 am
Empty Alt Tags April 1, 2005, 3:16 pm
tags April 10, 2006, 6:56 pm
New requirement for img tags? ( like ) June 11, 2006, 7:43 pm
alt vs title for img tags August 18, 2006, 2:46 pm
Commenting /div tags? February 9, 2007, 11:53 am
Anchor tags IE 7 February 25, 2007, 8:23 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap