• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Working with Frames > Exploring a Frame with Margin, Resize, and Sc...

Exploring a Frame with Margin, Resize, and Scroll Controls

Listing 15.1 shows the code for a framed page with marginheight, marginwidth, noresize, and scrolling attributes.

Listing 15.1. Frameset with marginheight, width, resize, and scrolling Attributes

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Frame With Numerous Controls</title>
</head>
<frameset cols="240, *">
<frame src="menu.html" marginheight="5" marginwidth="5" noresize= 
"noresize" scrolling="auto" />

<frame src="main.html" marginheight="15" marginwidth="15"
noresize="noresize" scrolling="auto" />
</frameset>
</html>
					


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint