![]() |
Vertical Devider Question
I feel like I am stuck every night.... and yet I have to ask for help again..:oops:
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? :oops: |
Re: Vertical Devider Question
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"} |
Re: Vertical Devider Question
Smarty rocks! Just brilliant.
|
Re: Vertical Devider Question
Inebiate, you ROCK!!
It worked like a charm!!! Thank you very much!!!! |
Re: Vertical Devider Question
And people wonder why X-Cart uses Smarty....this is a perfect example :)
|
Re: Vertical Devider Question
I am falling in LOVE with smarty! There are LOTS to be learned!!
I appreciate for your help all the time! |
All times are GMT -8. The time now is 03:24 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.