Author Topic: need education on Doctype at top of header...  (Read 4253 times)

0 Members and 1 Guest are viewing this topic.

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
need education on Doctype at top of header...
« 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...
Code: [Select]
<!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...
Code: [Select]
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

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...
Buddy Duke


  • Guest
Re: need education on Doctype at top of header...
« Reply #1 on: September 06, 2010, 07:59:56 PM »
hm .. jQuery also works with:
Code: [Select]

my website works.

mfg Andi

edit: i hate "\" I have it all away..


Post your comments here