![]() |
Is it possible to include a doctype???
Pulling my hair out on this one.
Been running my site through a validator just to check if there are an non closed tags etc. and of course on of the first errors that comes up is that there isn't a doctype I've added <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> to home.tpl but even after adding it if i check the page source or run it through a validator its not even included. Am i going made or does it get stripped out?[/quote] |
Yes.
Add the doctype to home.tpl. Make sure it is just before the <html> and not in the code before the html opener. |
Yeah i got it in now - not sure why it was disappearing before but it went in ok this time.
It did screw up the random review mod on the front page in IE (fine in firefox) so i've had to take it out for the moment until i figure out the problem |
You might want to try this doctype instead:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> xhtml doctype is pushing it for most of xcarts code ;) |
All times are GMT -8. The time now is 01:19 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.