Thread: css positioning
View Single Post
  #2  
Old 08-10-2009, 04:06 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: css positioning

Amy, take a look at NEGATIVE positioning with css margin

something like:
Code:
{if $discount gt 0} <div style="margin-top: -300px;" class="SaveMoneyLabel"> <span id="save_percent">{$discount}%</span> </div> {/if}

Negative positioning can really be a mind-f*%k, so be careful out there!

Google "negative margin css" and see what you find...

http://www.communitymx.com/content/article.cfm?cid=b0029

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote