PDA

View Full Version : CSS Question


ByteWizard
11-11-2002, 02:17 PM
I want to setup a CSS parm that will allow me to change the width of tables and also <TD> statements.... Simply put, I want a parm that I can change in one place that will alter the width of some tables in the page as well as alter the width of some <td> statements in other tables. An example please... everything I have tried does not work.

thanks for the help

Josh
11-11-2002, 02:56 PM
<style type="text/css">
<!--
.test{
blah;
......
}
-->
</style>

<table class="test">
<tr>
<td class="test">
</td>
</tr>
</table>

HTH

ByteWizard
11-11-2002, 03:19 PM
Thanks Josh, works like a charm....

JH

DCElliott
11-11-2002, 03:30 PM
A word of warning - check stuff in both Navigator and IE - they don't always react the same way. Navigator doesn't particularily "like" CSS in tables, and older versions can actually crash.