4images Forum & Community
General / Allgemeines => Programming => Topic started by: budduke on September 06, 2010, 06:59:49 PM
-
Have been messing with a jquery code and all the normal templates in 4images and most of the free ones I have played with start with on the header.html file...
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
The only way I could get the jquery script to look right was to change this to...
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
but when I changed this line then none of the templates looked correct, some white gaps can be seen above/below register area, ect...
I am assuming to use that line then all html codes have to start/end correctly like <div><p>paragraph</p></div>
Is that all I need to look at or is there more to it. w3 website is very cryptic and not very educational.
Thanks for any advice anyone can send my way...
-
hm .. jQuery also works with:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
my website works.
mfg Andi
edit: i hate "\" I have it all away..