| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
float:left image on product detail | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Has anyone had success with breaking the product image out of the seperate table cell and float:left so that the description flows around it? I have set it up to do so and the text wraps fine but if I use css to color a background or have a border those appear behind the image.
Here is an example: http://www.adaappliances.com/product.php?productid=16135&cat=0&page=1 And another: http://www.adaappliances.com/product.php?productid=16156&cat=0&page=1 Code snippet of the product_thumbnail.tpl Code:
I can specify a margin-left in the description html or use tables but this is tedious and has some adverse effects. I was hoping there was something that could be done on the template to compensate. The site is not live so please do not attempt to order anything!
__________________
First ever x-cart site: http://www.adaappliances.com X-Cart version 4.1.10 http://www.pinnacledesigns.tv working on version 2 of site, please stand by... |
|||||||
#2
|
|||||||
|
|||||||
![]() OK I gave up on making that work. I just contained everything in a table with a non-specified width for the ones next to the image and 100% width on the lower tables. I was hoping someone had a solution but I have a deadline to meet
![]()
__________________
First ever x-cart site: http://www.adaappliances.com X-Cart version 4.1.10 http://www.pinnacledesigns.tv working on version 2 of site, please stand by... |
|||||||
#3
|
|||||||
|
|||||||
![]() Hi Pinnacle
Try taking the floatleft out of your tag and putting it in your <img> tag. <IMG style="float: left; margin: .2em; border: .4em; border-color: ffe;" id="{$id}" src="{if $tmbn_url}{$tmbn_url ............ I did not try this but hope it helps you out.
__________________
Mike X-Cart Gold Version 4.6.0 PHP 5.2.17 |
|||||||
#4
|
|||||||
|
|||||||
![]() I've been wanting that on my site. If it works please post the code.
![]()
__________________
X-Cart 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|