Reply to Re: DTD and CSS incompatibility?

Your name:

Reply:


Posted by Attys Erebos on 10/31/05 16:50

Jim Higson wrote:
> Attys Erebos wrote:
>
>
>>Hello. I was recently doing a very simple website. I used a lot CSS;
>>changing the font size for <h1> and <li>, positioning with an absolute
>>value certain image,..
>>
>>I wrote the DTD only when the rest of the site was finished. But then,
>>most of the CSS effects disappeared (but background-color for div still
>>worked). This happened either with transitional or strict DTD.
>
>
> Which DTD, disappeared in which browser? Examples of HTML/CSS that
> disappeared?
>
>
>>Why? Which DTD should I use? none?
>
>
> Presumably because you put the browser out of quirks mode. There isn't much
> information to go on though.
I didn't explain it properly.
Nothing disappeared, just didn't work.
Examples of the CSS code that didn't work:
font-size aplied to <h1> or <li>
Browser: Mozilla firefox
The DTDs I'm speaking about are those referred by the HTML 4.01
specification: loose.dtd for transitional, and strict.dtd for strict.

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация