Is it possible to add a class or ID to the stylesheet.css so i can give the text and hyperlinks in a newsbox a different color?
The problem is on this website that i'm developping: http://salarisadministratielimburg.nl/index.php
In the 'footer' i'm using a dark background color so the regular colors in the stylesheet will not fit here. I now did some rare tricks to get the right result.
Thanks in advance!
Different style for newsbox with stylesheet.css
Re: Different style for newsbox with stylesheet.css
Well, you can set the class attribute of the respective <td> Element in the template like so:
And then define rules in the stylesheet:
Code: Select all
<td class="footer" bgcolor="#032D58" align="left" width="306" valign="top">
<font color="#ffffff"><?=newsbox(Footer_rechts)?></font></td>
Code: Select all
.footer a, .footer p {
color: yellow;
}
Christoph M. Becker – Plugins for CMSimple_XH
Re: Different style for newsbox with stylesheet.css
Thanks Christoph, appreciate your quick response !!
Going to try that tomorrow!!!
Thanks!!!
Going to try that tomorrow!!!
Thanks!!!
Re: Different style for newsbox with stylesheet.css
Works perfectly !!!!
Thanks!
Thanks!