![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Can anyone tell me why putting the DOCTYPE tag in my HTML file would screw up the formatting and layout? |
|
Does anyone have any recommendations of what to look for or what changes may need to be made? |
|
I'd appreciate the help. |
#3
| |||
| |||
|
|
Can anyone tell me why putting the DOCTYPE tag in my HTML file would screw up the formatting and layout? |
|
Does anyone have any recommendations of what to look for or what changes may need to be made? |
#4
| ||||||
| ||||||
|
|
On Tue, 9 Nov 2004 15:20:59 -0800, KS <all (AT) tall (DOT) net> wrote: Can anyone tell me why putting the DOCTYPE tag |
|
in my HTML file would screw up the formatting and layout? |
|
As modern pages should validate[1] and you should aim to use HTML and CSS as they are specified (rather than hacking solutions), you should force the browser into "strict mode". |
.|
One advantage of writing "correct" documents is that they tend to render more predictably across the wide range of user agents currently in use. |
|
Googling for "quirks mode" will turn up a lot of information on the subject, as will just "doctype". |
|
) Più Cabernet, -( meno Internet. ) http://bednarz.nl/ |
#5
| |||
| |||
|
|
I have just designed my first website from books I have read and resources on the net. I designed several pages, but did not put the DOCTYPE tag at the beginning, figuring I could put the tag in once I got the pages ready. Everything is formatting and working correct until I put in the DOCTYPE tag, then the formatting gets screwed up. I must have been mistaken to think the DOCTYPE tag was useless except for validation purposes. I could probably put my site on the web without the DOCTYPE tag and it would work fine. Can anyone tell me why putting the DOCTYPE tag in my HTML file would screw up the formatting and layout? Does anyone have any recommendations of what to look for or what changes may need to be made? I'd appreciate the help. |
#6
| |||
| |||
|
|
I have just designed my first website from books I have read and resources on the net. I designed several pages, but did not put the DOCTYPE tag at the beginning, figuring I could put the tag in once I got the pages ready. Everything is formatting and working correct until I put in the DOCTYPE tag, then the formatting gets screwed up. I must have been mistaken to think the DOCTYPE tag was useless except for validation purposes. I could probably put my site on the web without the DOCTYPE tag and it would work fine. Can anyone tell me why putting the DOCTYPE tag in my HTML file would screw up the formatting and layout? Does anyone have any recommendations of what to look for or what changes may need to be made? I'd appreciate the help. |
#7
| |||
| |||
|
|
IE6 has new, additional bugs in so-called 'standards compliant mode', [...] |
|
Googling for "quirks mode" will turn up a lot of information on the subject, as will just "doctype". Googling for 'doctype' reveals predominantly BS. |
![]() |
| Thread Tools | |
| Display Modes | |
| |