D
Dave Winter
Hi,
After smashing my head against the table a few times, I finally was
able to fix a bug that was causing my site to render incorrectly in all
browsers.
An hour ago, I had just finished my conversion from HTML to XHTML/CSS
Transitional, the site was validating perfectly. So, as it was doing
this, I thought I'd try it out as XHTML Strict. So I changed the
doctype in the file and then validated it. Validated fine as XHTML
Strict. However! Then I noticed it was rendering differently. These
weird line spaces were appearing in weird places. They hadn't been. So
I assumed I'd editting something accidently in the CSS file. Checked
the CSS file, nothing weird in there.
Hit my head against the table for the first time.
What had I changed recently? The doctype! From Transitional to Strict.
So I changed it back from Strict to Transitional.
Hit my head against the table for the second time.
The site was rendering correcltly! What the heck?!
Transitional: http://www.commanderbond.net/xhtml/
Strict: http://www.commanderbond.net/xhtml_s/
The only difference between these two versions are the doctypes.
Nothing else is different.
What the hell is going on?
Really appreciate any help of advice.
Cheers,
Dave Winter.
After smashing my head against the table a few times, I finally was
able to fix a bug that was causing my site to render incorrectly in all
browsers.
An hour ago, I had just finished my conversion from HTML to XHTML/CSS
Transitional, the site was validating perfectly. So, as it was doing
this, I thought I'd try it out as XHTML Strict. So I changed the
doctype in the file and then validated it. Validated fine as XHTML
Strict. However! Then I noticed it was rendering differently. These
weird line spaces were appearing in weird places. They hadn't been. So
I assumed I'd editting something accidently in the CSS file. Checked
the CSS file, nothing weird in there.
Hit my head against the table for the first time.
What had I changed recently? The doctype! From Transitional to Strict.
So I changed it back from Strict to Transitional.
Hit my head against the table for the second time.
The site was rendering correcltly! What the heck?!
Transitional: http://www.commanderbond.net/xhtml/
Strict: http://www.commanderbond.net/xhtml_s/
The only difference between these two versions are the doctypes.
Nothing else is different.
What the hell is going on?
Really appreciate any help of advice.
Cheers,
Dave Winter.