PDA

View Full Version : EDIT ONLY Reg rules BG?


zero5854
11-01-2008, 01:06 AM
Hi Is there a way to edit ONLY the regulations rules backround without changing the SCC of my whole forum?

Thanks in advacne!!

Lynne
11-01-2008, 02:01 AM
You can use inline css to give a back-ground color for that area. I think it's the register_rules template, this line:
<div class="page" style="border:thin inset; padding:$stylevar[cellpadding]px;<if condition="!is_browser('konqueror')"> height:175px; overflow:auto</if>">

zero5854
11-01-2008, 02:16 AM
You can use inline css to give a back-ground color for that area. I think it's the register_rules template, this line:
<div class="page" style="border:thin inset; padding:$stylevar[cellpadding]px;<if condition="!is_browser('konqueror')"> height:175px; overflow:auto</if>">

hmmm ok so ur saying I could add a line? what would I add?

Lynne
11-01-2008, 02:51 AM
You may add whichever background properties you'd like - just add it into the style part of that line. Here's a link for the css background properties - http://www.w3schools.com/css/css_background.asp

zero5854
11-01-2008, 03:00 AM
im sorry but the TUT u shoed me doesnt seem to correspond to what I am asking. Im asking how to integrate this code. Where in the code above would I add the BG color code?

Lynne
11-01-2008, 03:07 AM
In the style part of the tag. Such as:
<div class="page" style="background-color: yellow; border:thin inset; padding:$stylevar[cellpadding]px;<if condition="!is_browser('konqueror')"> height:175px; overflow:auto</if>">
You never said background *color* or I would have added that in instead of giving you the link. You can do background images also, and different things with the images, all of which are shown in that link. Change yellow to the appropriate color.

zero5854
11-01-2008, 12:16 PM
ok ill try it thanks I thought u knew what I meant LOL