MyBB Community Forums

Full Version: open a picture box
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I Want to open a Picture Box at the Top of my Header at home page. so I can post the picture of my recent EBook.and also at the footer too.so I can post the picture of my new mp3 album.
How can I do it?????
my site http://www.banglapdf.com
If you mean you want to add a box with a picture in it, you can use the following code:
<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>Box Name</strong> </td>
</tr>
<tr>
<td class="trow2" align="center">
<img src="http://mysite.com/images/myimage.png" />
</tr>
</table>
</br>

Add that code to the header (or index template) and to the footer template in the position of your choosing.
hey,look at the screenshot.the box is not in the right place.how can I move it's position to little bit of left side????

[Image: 99490708c0465a53d170a542c75fa8a535f8a58.jpg]
Replace above with this;
<div class="float_left"><table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead"><strong>Box Name</strong> </td>
</tr>
<tr>
<td class="trow2" align="center">
<img src="http://mysite.com/images/myimage.png" />
</tr>
</table>
</br>
</div>
Thanks, it works...