The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Banner Resizing Problem
Hi folks,
I seem to have hit a slight banner problem. My new banner looks ok on the screen resolution i have, but when i lower it the banner still stretches across the page and disappears off screen. This is the code i have at the moment, Code:
<!-- logo --> <a name="top"></a> <center> <table border="0" width="100%" cellpadding="0" cellspacing="0" align="center" style="background-image:url($stylevar[imgdir_misc]/headbg.gif)"> <tr> <td align="left" valign="top"><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[imgdir_misc]/head_left.gif" border="0" alt=""/></a></td> <td align="right" valign="bottom"><img src="$stylevar[imgdir_misc]/head_right.gif" alt="" /></td> </tr> </table> </center> <!-- /logo --> <!-- content table --> $spacer_open $_phpinclude_output SteveT --------------- Added [DATE]1250351047[/DATE] at [TIME]1250351047[/TIME] --------------- Anyone got any help or code i could use. Thanks. |
#2
|
|||
|
|||
Can you provide a link so I can see what the problem is. Also, what do you want to happen when users make their window size smaller?
|
#3
|
|||
|
|||
Hi,
Thanks for your reply. If you use a size of screen smaller than my display setting (1440x900) then the banner wont shrink to fit the forum, stays big, and if i go to higher screen size the banner do sent fit the length of the forum. http://quarantine-101.com/ Thanks. SteveT |
#4
|
|||
|
|||
Okay, I know what you want to do now.
It might be better if you make a smaller logo that is centralised and then you can add a bar to either side that expands to make it look like your logo stretches across the forums. Alternatively, you could fix the width of your forums and then the logo would always fit. |
#5
|
|||
|
|||
Quote:
Thanks. |
#6
|
|||
|
|||
To make your forums width fixed not fluid, go to:
AdminCP > Styles & Templates > Style Manager > YOURSTYLE > All Style Options Then find this: "Main Table Width (pixels or percentage)" Change the "100%" to any number say 800. You can then make your banner 800 pixels wide. If you don't like this method, you can revert it back to 100% and I'll help you make a fluid banner. |
#7
|
|||
|
|||
Quote:
I`ll give this option a try and let you know how i get on, I appreciate the help. SteveT --------------- Added [DATE]1250374477[/DATE] at [TIME]1250374477[/TIME] --------------- It worked well, But i think if you can help with the fluid version, it would be much better. Thanks again. SteveT |
#8
|
|||
|
|||
Okay then, would you like your logo to be positioned to the left, centre or right?
|
#9
|
|||
|
|||
Quote:
Thanks. |
#10
|
|||
|
|||
You'll need to create a logo image and a image which can be repeated that works on both sides.
Then paste the urls here and I'll give you some code. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|