PDA

View Full Version : Setting more than one class=?


mkdevo
04-07-2005, 09:39 AM
say i have the following code:

<td class='alt1'>

but i also want to add

<td class="smallfont">

is it possible to combine the two somehow? everything i've tried so far hasn't worked...

Princeton
04-07-2005, 11:35 AM
Modern browsers...
<td class="alt1 smallfont">text goes here</td>

If most of your members are using older browsers I recommend...
<td class="alt1"><div class="smallfont">text goes here</div></td>

mkdevo
04-07-2005, 12:05 PM
princeton - thanks that worked. one more question:

how to i change the font size of a variable that a template is calling from a .php file? ie: {$welcome_topics}

the smallfont declaration in my template seems to have no effect on the size of it. i tried editing the php file, and just came out with a parse error.

thanks again.

Princeton
04-07-2005, 12:16 PM
First place to look into is the template that displays this information.
Second place ... phrases
Third place to check ... the php file