<style> P.author {font-style:italic} P.1name {size:12pt; font-family:arial} </style> <body> <P class="author">Mark Twain</P> <P class="1name">Quote Text Here</P> </body> |
All versions of Netscape ignore the P.1name style definition because it begins with a number, while Explorer displays it as you expect. Under CSS1 specifications, selectors can't start with a number, but CSS2 rules do allow it. Just follow the CSS1 naming conventions to avoid problems.