vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   EDIT ONLY Reg rules BG? (https://vborg.vbsupport.ru/showthread.php?t=195116)

zero5854 11-01-2008 01:06 AM

EDIT ONLY Reg rules BG?
 
1 Attachment(s)
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:
HTML Code:

                        <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

Quote:

Originally Posted by Lynne (Post 1656924)
You can use inline css to give a back-ground color for that area. I think it's the register_rules template, this line:
HTML Code:

                        <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:
HTML Code:

<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


All times are GMT. The time now is 07:15 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01077 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_html_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete