PDA

View Full Version : CSS compatibility


Daybreak_0
May 24th, 2005, 07:22
I would like to ask all developers to always add classes to any html, a module etc, will output.

Please make the class relevant to the module (Maybe the proposed Standards team http://forum.mamboserver.com/showthread.php?t=18188 ) could look at the best way to do it.

Mambo can be very difficult to manipulate if classes or ID's are not added.

Regards
Day

<--R O B-->
May 27th, 2005, 05:55
you know you can add a class prefix to a module, to target a specific module?

Also did you know that you can access elements within a module without defining a specific class for that element.

Eg you have <table class="moduletable"><tr><td><p>some text</p></td></tr></table>

then you can style the tables paragraph with this css:

table.moduletable p{

}