| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Vertical Devider Question | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
I feel like I am stuck every night.... and yet I have to ask for help again..
I have a 3col featured product table with product images and was wondering how I can place a vertical devider between each products (something like on target.com) ? My initial idea was to place a <div> around each featured item and have css draw a border on the right side, so that when it loops, it will generate a vertical bar each time it loops. But then, the problem was that instead of having 2 vertical divider, it will have 3 vertical devider.. Here is how I wanted to display.. ( I made this in photoshop ) http://farm1.static.flickr.com/227/550590196_f2b3952d19.jpg I hope the picture can provide a clear idea.... Any idea guys?
__________________
X-Cart Ver: 4.1.9 Gold X-Cart Ver: 4.1.10 Gold |
|||||||
|
#2
|
|||||||
|
|||||||
|
use {cycle} in addition to the css (needs to be done within the template and not the style sheet)
ie: border-right:{cycle values="1px solid #000000,1px solid #000000,none"} |
|||||||
|
#3
|
|||||||
|
|||||||
|
Smarty rocks! Just brilliant.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
#4
|
|||||||
|
|||||||
|
Inebiate, you ROCK!!
It worked like a charm!!! Thank you very much!!!!
__________________
X-Cart Ver: 4.1.9 Gold X-Cart Ver: 4.1.10 Gold |
|||||||
|
#5
|
|||||||
|
|||||||
|
And people wonder why X-Cart uses Smarty....this is a perfect example
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#6
|
|||||||
|
|||||||
|
I am falling in LOVE with smarty! There are LOTS to be learned!!
I appreciate for your help all the time!
__________________
X-Cart Ver: 4.1.9 Gold X-Cart Ver: 4.1.10 Gold |
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||