Network Sites: Marketing News | Search Engine Optimization | Free Javascript | HTML Codes | Web Page Design | Internet Dictionary |
HTML CodesHTML Codes > Fonts
Fonts in Tables
Of special interest to webmasters who do a lot of tables is the application of styles to tables. If you've ever attempted to use the
<TABLE BORDER BGCOLOR=NAVY> <TR> <TH><FONT COLOR=WHITE FACE="Geneva, Arial" SIZE=6>fruit</FONT></TH> </TR> <TR> <TD><FONT COLOR=WHITE FACE="Geneva, Arial" SIZE=6>apples</FONT></TD> </TR> <TR> <TD><FONT COLOR=WHITE FACE="Geneva, Arial" SIZE=6>pineapples</FONT></TD> </TR> </TABLE> If you're in this situation, styles will make your life simpler.
Let's look at an example. The following styles code (in a
.boldtable, .boldtable TD, .boldtable TH { font-family:sans-serif; font-size:20pt; color:white; background-color:navy; }
We can apply this style to an entire table by simply setting the class of the table to
<TABLE BORDER CLASS="boldtable"> <TR> <TH>fruit</TH> </TR> <TR> <TD>apples</TD> </TR> <TR> <TD>pineapples</TD> </TR> </TABLE> which gives us this table:
The keen observer will notice that there's some redundancy in the selector. After all, if we set the entire table to the
|
Recommended: Link Popularity Software : WebPosition Gold : Google Cash : Arelis : Optilink : Search Engine Optimization Software : Search Engine Submission Software : Mike's Marketing Tools : Mike's Ecommerce Software : Search Engine Rankings : Link Popularity Checker : Cheap Domain Registration : Keywords |
Copyright © 2002-6 Art Dacor USA LLC. All Rights Reserved.
3727 West Magnolia Blvd #489, Burbank, CA, 91505, USA. www.HTML-HTML.com |