vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Style/CSS question (https://vborg.vbsupport.ru/showthread.php?t=255599)

Scandal 12-20-2010 05:09 PM

Style/CSS question
 
1 Attachment(s)
In the following image you can see a postbit legacy.
How could I add this right intermittent border to the postbit legacy? (it is only an image)
The colour is #CC3333

Thanks!

BirdOPrey5 12-20-2010 07:30 PM

It's probably a a background image... it would help if we had the css for the postbit to be sure.

Scandal 12-20-2010 07:43 PM

where could I find the postbit's css?:o
If we suppose that the background image is the "bg.gif", what I must add to the css to make this result? (and where on the admincp is the postbit's css? )


sorry for my bad english

BirdOPrey5 12-20-2010 08:07 PM

Honestly I wouldn't think that is CSS so much as in inline style... In the default vBulletin postbit_legacy template style there is a line:

HTML Code:

<td class="alt2" width="175" style="border: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; border-top: 0px; border-bottom: 0px">
That is what controls that box in the postbit that you posted the picture of... the background image was probably added by altering this line. Find the name of the image then find the line that controls the main message area of the postbit:

HTML Code:

<td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]">
Edit this line to add the background image to it, something like:

HTML Code:

<td class="alt1" id="td_post_$post[postid]" style="border-$stylevar[right]: $stylevar[cellspacing]px solid $stylevar[tborder_bgcolor]; background-image:url(images/misc/bg.gif)">


All times are GMT. The time now is 01:11 PM.

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.01006 seconds
  • Memory Usage 1,716KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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