Monday, September 13, 2010

XHTML Frameset

Frames are a relic, and are rarely used online. However, for backward compatibility and for
those designers who still use them, there is a frameset-specific DTD (individual pages
within a frameset require one of the aforementioned DTDs):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">

Note that in Gecko browsers, XHTML Transitional and Frameset are rendered in
“almost standards” mode. The main difference between this and standards mode is in
the formatting of tables, which is designed to largely match that of Internet Explorer,
making sliced-images-in-tables layouts less likely to fall apart.

No comments:

Post a Comment