Tuesday 29th of July 2014 06:37:02 AM

Book Home

Cascading Style Sheets: The Definitive GuideSearch this book

Index

Symbols | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z



Library Navigation Links

Copyright © 2002 O'Reilly & Associates, Inc. All Rights Reserved. termination tag </P>, </H2> or </DIV>as appropriate. 

The block-level <CENTER> tag is still a commonly-usedalternative (includes its own line breaks).  Use <BLOCKQUOTE>for both-margin indents, <UL> with no list items forleft-indents (see below). 
 You can terminate list items with a </LI> tag but it'snot required. Can you nest sub-lists within lists? Soitanly! Levels are

to do is add a class to each table cell, like this:

<TABLE border cellpadding="4"><TR><TD CLASS="home"><A HREF="home.html">Home Page</A></TD><TD CLASS="read"><A HREF="read.html">My Writing</A></TD><TD CLASS="fun"><A HREF="fun.html">Fun Stuff!</A></TD><TD CLASS="links"><A HREF="links.html">Other Links</A></TD><TD CLASS="write"><A HREF="write.html">Contact Me</A></TD></TR>

In the meantime, however, here's the script:

<SCRIPT LANGUAGE="JavaScript1.2">
<!--
var agt = navigator.userAgent.toLowerCase(  );
var is_major = parseInt(navigator.appVersion);
var is_nav = ((agt.indexOf('mozilla') != -1) &&
(agt.indexOf('spoofer') == -1) &&
(agt.indexOf('compatible') == -1));
var is_nav4 = (is_nav && (is_major == 4));