Log in

View Full Version : How do I make my Banner a Fixed size?


David Lama
09-02-2007, 06:58 AM
i dont know if i phrased the question correctly but i have a banner that i placed in a skin that i havent made public yet.. i dont want to make it public till i fix this. but my banner seems fine when the window of a browser is fully open. but once you minimize the screen the banner becomes larger than the width of the borders of the tables.. how do i fix this??

my banners size is 841 width, 190 height

here's the code i'm using

<!-- logo -->
<a name="top"></a>
<table border="0" width="$stylevar[outertablewidth]" cellpadding="0" cellspacing="0" align="center">
<tr>
<td width="841" height="190" align="center" valign="top"><img src="http://www.bragginwrites.com/forums/images/BragginWrites_Skin/Banner.jpg" width="841" height="190" alt="" /></td>



</td>
</tr>
</table>
<!-- /logo -->

the main table width of the style im using this banner for is 85%. i already tried putting 85 in the border= part but that didnt work either and made things even more worse. please help :(

Dean C
09-02-2007, 09:37 AM
You can't do this. Images are fixed size, and cannot be dynamically reducded in width on the fly, unless you have a portion of the image that can be made repeatable. As a standard, no content on your page should be bigger than around 760px :)

David Lama
09-02-2007, 06:29 PM
ok i just made it 700 and im still having the same exact problem. so whats the issue?

Dean C
09-02-2007, 08:06 PM
Erm, maybe i'm not following. Can you try and explain the problem again, as clearly as possible :)?

David Lama
09-02-2007, 08:19 PM
thanks adeptus

AdeptusAstartes
09-02-2007, 08:36 PM
here is the solution, make your template fixed to 841 or 700 (same size as your banner)

Styles&Templates > Edit Templates > All Options (from the drop down menu of the desired template) > Main Table Width

David Lama
09-02-2007, 08:47 PM
^i did that. same problem still

actually nevermind i was doing that wrong. thanks that did fix the problem

AdeptusAstartes
09-03-2007, 12:39 AM
you are welcome