![]() |
How can I align to bottom in php source?
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 O:) |
Re: How can I align to bottom in php source?
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.
|
Re: How can I align to bottom in php source?
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> |
Re: How can I align to bottom in php source?
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:xxxx" to position as this will depend on the length of the page where the element shows, use "bottom:xxx" - no matter how long the page is it will always be on the same spot
|
All times are GMT -8. The time now is 07:40 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.