PDA

View Full Version : Another rounded graphic question


shadowdancer36
09-16-2008, 05:10 PM
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:

.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.