Search
(Navigator)
1.* Photos * | 2.Best/Pano/Minis | 3.My Adventures | 4.Travels | 5.Questions/Answers | 6.Prog | 7.Maps | 8.Cool

Programming

1.Unix | 2.* Perl * | 3.PHP | 4.ASP.NET | 5.ASP | 6.Visual C++ | 7.Visual Basic | 8.JavaScript | 9.HTML | 10.CSS |
11.CGI, bin and Perl | 12.Cygwin | 13.Linux | 14.mySQL | 15.Python | 16.robertbody C++ & *.BAT |
17.Unix Notes (live) | 18.Perl Notes (live)
CSS

(in HTML documents)

- Cascading Style-Sheets are used for managing the overall behavior of a document.
They must be set before <body>. The example below sets the default for
• font: Verdana, 8pt, black
• table font: Verdana, 8pt, black
• table elements: Nowrap, cellpadding=0
<html> <head> ... </head>
<style type="text/css">
 <!--
  body{color: black; font-family: verdana; font-size: 8pt}
 table{color: black; font-family: verdana; font-size: 8pt}
    td{white-space: nowrap; padding-right: 0; padding-top: 0}
 -->
</style>
<body> ... </body>  </html>

- The alternative is using the following, for text and each table separately
<font face="verdana,sans-serif,arial,helvetica" color="" style="font-size:8pt">
...text
</font>

<table cellpadding=0 style="color: black; font-family: verdana; font-size: 8pt">
  <tr><td nowrap> ...
  </td></tr>
</table>

Quick Syntax Reference -- Style, spacing
<font  ... face="verdana,sans-serif,arial,helvetica" color="" style="font-size:8pt" >
<table ... style="color: black; font-family: verdana; font-size: 8pt" >
<form  ... style="margin-bottom:0; margin-top:0" >


Links
CSS jqjacobs.net

Counter:
Last Updated: Thu, November 24, 2005 22:46