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)
-   -   Another rounded graphic question (https://vborg.vbsupport.ru/showthread.php?t=191067)

shadowdancer36 09-16-2008 05:10 PM

Another rounded graphic question
 
I've tried looking around but I can't seem to find the right posting to do this.

I'm trying to find out how to place rounded corners using images. I looked at the code for someone's forum that had them I saw the following:

Code:

.tcat_left {
background: url(http://www.theirsite.com/forum/images/misc/tcat_left.gif) no-repeat top left;
height: 36px;
line-height: 36px;
padding-left: 21px;
}

.tcat_right {
background: url(http://www.theirsite.com/forum/images/misc/tcat_right.gif) no-repeat top right;
height: 36px;
}

Question is, where do I place this code if I need to? I tried placing it in the extra css box with no luck.

Lynne 09-16-2008 05:20 PM

That is the correct place to place the css, but you also have to use those new css classes in the tables where you want the rounded corner affect.

shadowdancer36 09-16-2008 05:27 PM

In the tables? Where do I edit the code at? Is it something outside of the admincp?

Lynne 09-16-2008 05:55 PM

If you want rounded corners somewhere, most likely you are applying it to a table - <table> <- that kind of table. Usually you will have a row with three <td> tags. You want the left one to have the class ".tcat_left" and the right one to have the class ".tcat_right". I don't know which tables you are trying to apply this too though. The tables will be in the template. To find the template name, vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code.


All times are GMT. The time now is 03: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.01087 seconds
  • Memory Usage 1,708KB
  • 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
  • (1)bbcode_code_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