|
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.
Navigation:
[Reply to this message]
|