The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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; } |
#2
|
||||
|
||||
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.
|
#3
|
|||
|
|||
In the tables? Where do I edit the code at? Is it something outside of the admincp?
|
#4
|
||||
|
||||
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.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|