HTML and CSS Reference
In-Depth Information
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-
frameset.dtd">
<html xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>XOM 1.1 API</title></head>
<frameset cols="20%,80%">
<frameset rows="30%,70%">
<frame frameborder="1" src="overview-frame.html"
name="packageListFrame" title="All Packages"
scrolling="auto" />
<frame frameborder="1" src="allclasses-frame.html"
name="packageFrame" title="All classes and interfaces
(except non-static nested types)" scrolling="auto" />
</frameset>
<frame frameborder="1" src=" overview-summary.html"
name="classFrame"
title="Package, class and interface descriptions"
scrolling="auto" />
</frameset>
</html>
Next, change each frameset and frame into a div , as shown in Listing 5.8 . The name attributes will need to be
changed into id attributes. Also, add a body element. Finally, change the DOCTYPE to the XHTML strict
DOCTYPE.
Listing 5.8. Replacing Frames with divs
Code View:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en-US" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>XOM 1.1 API</title></head>
<body>
<div cols="20%,80%">
<div rows="30%,70%">
<div frameborder="1" src="overview-frame.html"
id="packageListFrame" title="All Packages"
scrolling="auto">
<div frameborder="1" src="allclasses-frame.html"
id="packageFrame" scrolling="auto" title=
"All classes and interfaces (except non-static nested types)"
/>
</div>
<div frameborder="1" src="overview-summary.html"
id="classFrame" scrolling="auto"
title="Package, class and interface descriptions" />
</div>
</body>
</html>
 
Search WWH ::




Custom Search