Frames Without Frontiers

If you'd like to have a frame-based site with no borders, you can get rid of them. If you're following the rules, authoring borderless frames is easy. You simply add the attribute and value frameborder="0" within the frame tag (see Example 6-11).

Example 6-11. Working with borderless frames

<!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>Borderless Frames</title></head><frameset cols="200,*"><frame frameborder="0" src="menu.html" name="menu" marginheight="5" marginwidth="5" noresize="noresize" scrolling="auto" /><frame frameborder="0" src="main.html" marginheight="9" marginwidth="9" noresize="noresize" name="content" scrolling="auto" /> ...

Get Spring Into HTML and CSS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.