| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How can I align to bottom in php source? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I have no experience in PHP
I try to modify left_bar.tpl skin / vivid_dreams_lotus / customer / left_bar.tpl I have added this: <iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftandem-shopkz.x-shops.com&layout=standard&show_faces=true& amp;width=200&action=like&font=verdana& ;colorscheme=light&height=80" style="border:none; overflow:hidden; width:200px; height:80px;"></iframe> and ik works ![]() But I would like to align it to the bottem... Thank you for advice ![]()
__________________
Bruno Stevens - Belgium X-Cart 4.4.1 Gold mother tongue: Dutch www.tandem-shop.kz |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() What you are editing is a template file - you don't need to know php to modify it, you need to know smarty, html and css. If you put your new code at the end of left_bar.tpl after all other code it will be the last thing to load so it will be aligned to the bottom of left_bar.tpl.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Thank you Steve, but what I wanted is that the new code in shown at the bottom of the page. (left_bar.tpl)
With <align="bottom"> it didn't work. Neither with this: p { position: absolute; top: 575px; left: 75px;} <P> <iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftandem-shopkz.x-shops.com&layout=standard&show_faces=true& amp;width=200&action=like&font=verdana& ;colorscheme=light&height=80" style="border:none; overflow:hidden; width:200px; height:80px;"></iframe> </P> And neither with this: <div class="footer"> <p> <iframe allowtransparency="true" frameborder="0" scrolling="no" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Ftandem-shopkz.x-shops.com&layout=standard&show_faces=true& amp;width=200&action=like&font=verdana& ;colorscheme=light&height=80" style="border:none; overflow:hidden; width:200px; height:80px;"></iframe> </p> </div>
__________________
Bruno Stevens - Belgium X-Cart 4.4.1 Gold mother tongue: Dutch www.tandem-shop.kz |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() If you need it at the bottom of the page put it in the footer or in the container that holds middle and left part of the page. In order positioning to work the parent container must have positioning as well. Do not use "top
![]() ![]()
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|