![]() |
Code Error
Hi, I seem to be having a problem with displaying an image on my home page. I am missing something. I see the following text code next to my credit card image on the right side.
div style="text-align:center; padding:5px; "><img src="{$ImagesDir}/2cocreditcards_vert.jpg" alt="" /> Can someone tell me where I made my mistake. Thanks, Eric http://dominicancreations.com |
Re: Code Error
Looks like you are missing an opening < in front of the div tag.
|
Re: Code Error
I tried that but then it messed up my top section. It went all out of alignment.
Eric |
Re: Code Error
I seem to have solved my problem using this code: <!--div style="text-align:center; padding:5px; ">--!><br><center><img src="{$ImagesDir}/2cocreditcards_vert.jpg"
Not sure if this is the correct way to do it but it worked, at least I think so, maybe it will create problems elsewhere that I have not yet discovered ! 8O Eric |
Re: Code Error
Don't use html comments in smarty, use this:
{* hidden code *} Or just delete it completely. |
Re: Code Error
Thanks for the info.
Eric |
All times are GMT -8. The time now is 11:49 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.