Quote:
Originally Posted by angedelamort
Hello,
I'm testing some functionality and since I'm not to used with the news "style" system I was wondering what is the right way to add custom CSS style:
Code:
<style>
.styleName div { border:ridge; }
</style>
so when I use it somewhere else, I can do
Code:
<div class="styleName">...</div>
Thanks
|
it would be .stylename {border: ridge;}
<div class="stylename"></div>
if you define it your way, than all dives inside of styleName will also inheirt the border. But if thats what you want it won't be a problem