You are here: Forum Home / RapidWeaver User Forum / HTML, CSS, and Design Help / Thread
I ran a check to see if my site was HTML valid through the W3 validator and it says this
Warning Mismatch between Public and System identifiers in the DOCTYPE declaration
This document uses an inconsistent DOCTYPE declaration. The System Identifier http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd declares the XHTML 1.0 Transitional document type, but the associated Public Identifier -//W3C//DTD XHTML 1.0f Transitional//EN does not match this document type.
The recommended Public Identifier for http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd is -//W3C//DTD XHTML 1.0 Transitional//EN.
1. Should I be worried about this?
2. What effect does this have on the site?
3. Is this Rapidweavers doing?
4. How is it easily fixed?
TIA
http://www.asiaremedies.com
http://www.fluidclothing.com
http://www.exoticvegetables.co.uk
RW 4.2 G4 iBook 10.5.6
The problem is in the part of the identifier that reads:
XHTML 1.0f
That ‘f’ should not be there.
I’m pretty sure that RW didn’t put it there and I took a look at some other themes made with BlocksBox and they were fine, so I don’t know where it came from.
You might take a look at your theme’s contents and see if it’s in the index.html theme template.
Phil
Check out the Stacks for the Stacks Plugin.
Table Stacks, SideBoxes, Flash Stacks, Stacks Stacks, Image Stacks…......
You might take a look at your theme’s contents and see if it’s in the index.html theme template.
Phil
Heres the contents of my BlocksBox index.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
Ive got no idea where its coming from as I havent set the DOCTYPE manually.
http://www.asiaremedies.com
http://www.fluidclothing.com
http://www.exoticvegetables.co.uk
RW 4.2 G4 iBook 10.5.6
If you have page output set to ‘Tidied’ or ‘Optimized’ then RW will change the doctype if necessary.
I use ‘Tidy’ on all my pages but I’ve never seen it set the doctype as 1.0f
Wish I had an answer.
Phil
Check out the Stacks for the Stacks Plugin.
Table Stacks, SideBoxes, Flash Stacks, Stacks Stacks, Image Stacks…......
I would add that the reason your doctype was changed to transitional is because of the ‘align’ and ‘border’ attributes in your table. These will not validate ‘strict’.
You also have an ‘alt’ attribute in a link near the footer. Change that to a ‘title’ attribute like on your other links and get rid of that error.
If you do that then you will validate ‘transitional’ with only the warning about the doctype.
Phil
Check out the Stacks for the Stacks Plugin.
Table Stacks, SideBoxes, Flash Stacks, Stacks Stacks, Image Stacks…......