Doctype declarations?

windows

Guest
If a site uses frames, is it only the frame page that has a frame Doctype declaration or do all the other pages also have to have the same.? <br />
At the moment I'm using the 'transitional' type for those other pages is this correct? <br />
Thanks.<!--content-->Only the frameset, the other pages would retain the approriate doctype for the type of page it is. The frameset just loads the different pages into the frames. Each page is loaded and parsed seperately.<!--content-->From what I can tell, the framset page should have a doctype like this...<br />
<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"><br />
<br />
Then on your individual pages (being shown in the frames) keep them as if they were on thier own...<br />
<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--content-->
 
Back
Top