Re: CSS inconsistent behaviour
- From: Neredbojias <http://www.neredbojias.com/fliam.php?cat=alt.html>
- Date: Tue, 16 May 2006 19:33:10 -0400
To further the education of mankind, "Ian Davies"
<iandan.dav@xxxxxxxxxx> vouchsafed:
Hello
Thanks for the feedback
I sorted it out. I had created a dynamic page in dreamweaver from a
template and the following line is automatically placed at the top of
the html
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
All my other pages I have either not used dreamweaver to create them
or have deleted this line. On deleating the line the css style was
displayed properly.
Out of interest does anyone know what this line does exactly
Ian
"Neredbojias" <http://www.neredbojias.com/fliam.php?cat=alt.html>
wrote in message
news:Xns97C3493635FFFhttpwwwneredbojiasco@xxxxxxxxxxxxxxxx
To further the education of mankind, "Ian Davies"
<iandan.dav@xxxxxxxxxx> vouchsafed:
I have a class in a style sheet to make text x-large.
However it behaves differently on different pages. The text is
large on one page, as it should be but not on the other even though
the text on both pages uses the same style
anyone know why this happens?
Get a load of this. That line puts browsers into "standards mode" with a
somewhat-deprecated tag-set. The optimal method is to use the strict
doctype which is similar but more accurate. Not including a doctype at all
goads browsers into "quirks mode", -a sort of haphazard way of functioning
peculiar to the particular browser at hand. Ergo, all your other pages are
flawed and the one with the problem was acceptably correct.
--
Neredbojias
Infinity has its limits.
.
- Follow-Ups:
- Re: CSS inconsistent behaviour
- From: Ian Davies
- Re: CSS inconsistent behaviour
- References:
- CSS inconsistent behaviour
- From: Ian Davies
- Re: CSS inconsistent behaviour
- From: Neredbojias
- Re: CSS inconsistent behaviour
- From: Ian Davies
- CSS inconsistent behaviour
- Prev by Date: border mistake and not showing in 2.0
- Next by Date: Re: Accessibility layout (Opera)
- Previous by thread: Re: CSS inconsistent behaviour
- Next by thread: Re: CSS inconsistent behaviour
- Index(es):
Relevant Pages
|