PDA

View Full Version : Curved corners and expanding tcat background


veenuisthebest
04-09-2009, 09:07 PM
[tcat_left.png X 1]**********[tcat_repeating.png X n]**********[tcat_right.png X 1]


What I want is to put a repeating background image for .tcat class. How do I put one curved image at the left and one curved image on the right for tcat background? I have my images ready, just not able to understand how to fix them up via CSS.

I want to achieve something like below. But how do I do this using just the Extra CSS Attributes field box, so that I do not have to edit templates.

.tcat_left {
background: url(../../images/gradients/tcat_left.png) no-repeat top left;
}

.tcat_bg {
background: url(../../images/gradients/tcat_repeating.png) repeat-x top left
}

.tcat_right {
background: url(../../images/gradients/tcat_right.png) no-repeat top right;
}



Thanks

Seven Skins
04-10-2009, 07:55 AM
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr>
<td class="tcat_left"></td>
<td class="tcat_bg"></td>
<td class="tcat_right"></td>
</tr>
</table>

veenuisthebest
04-10-2009, 01:51 PM
But I want to do just by editing .tcat class (Extra CSS Attributes) rather than editing templates.

How do I apply your method to the tcat class?

Seven Skins
04-10-2009, 02:47 PM
You cannot do it just by editing .tcat class.
You have to use table or in an existing table make 3 columns.

.

veenuisthebest
04-11-2009, 07:20 PM
But how do I do this for the whole site wherever .tcat class is used? I mean will I have to edit ALL templates replacing use of tcat with my own classes?

Thanks

abbasbsp
04-11-2009, 07:35 PM
But how do I do this for the whole site wherever .tcat class is used? I mean will I have to edit ALL templates replacing use of tcat with my own classes?
Thanks
can all at modification appropriate our wish, but your server opens CSS access
to admincp >> Style Manager >> to styles choose main CSS
you see, all templates can change belong of "Category Strips"
sorry, if this you mean ....

veenuisthebest
04-11-2009, 07:56 PM
can all at modification appropriate our wish, but your server opens CSS access
to admincp >> Style Manager >> to styles choose main CSS
you see, all templates can change belong of "Category Strips"
sorry, if this you mean ....
I really can't understand what you mean.

Thanks