Log in

View Full Version : Need Help with header code


The slime
07-09-2009, 11:55 AM
this is driving me mad. when I move my browser my forum falls apart . here is my header code

<div id="border-left"><div id="border-right">
<!-- logo -->
<div id="header"><img src="images/z/misc/header_right.gif" class="fright" alt="" /><a href="$vboptions[forumhome].php$session[sessionurl_q]"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]" /></a></div>
<!-- /logo -->

<div id="content-pad">

<!-- content table -->

$_phpinclude_output

what am I doing wrong URL http://www.backdoor.bz

tipoboy
07-09-2009, 12:55 PM
what do you mean falls apart?

are you refering to when you resize your browser the header image doesnt shrink?

Your header image is 617 pixels wide therefor if a browser has a smaller width the image will remain 617 and the browser will clip the image.

Is this what you meant?

The slime
07-09-2009, 01:01 PM
I would like everything to stay 1 size .. example when you make your browser smaller it will not effect vbulletin

cono1717
07-09-2009, 01:32 PM
Go to ACP > Styles and Templates > [Your Skin] > Select Style Vars from the drop down list.

Now see the width field if that contains a percentage change it to a number without a percentage. Since your banner is 617 pixels you should just type 617.

If that looks too small try typing in 755px.

Davidx3
07-09-2009, 01:33 PM
change your % codes into PX codes, or the other way around

I find if i change everything from % to PX it will keep the forum the size i want it, then when it goes into a smaller browser it will stay that side, you would have to use the scroll.

The slime
07-09-2009, 02:52 PM
that really messes it up

tipoboy
07-10-2009, 10:33 AM
what exactly is the problem then, what do you mean when i move my browser the forum falls apart?

A little more description about the problem would help us to help you better :)

The slime
07-10-2009, 03:24 PM
Ok, im trying to create a fixed width. I under stand my banner width and will alter it. I set my table width to 800px which is just were I want it, and It does not move which is what I want, now how do I get everything else fixed? if you goto my site now you will see everthing else move when you adjust your browser inward , I want everything set in place fixed.

Lynne
07-10-2009, 03:52 PM
You have a custom style which may not be set up to allow for a fixed width. You may have to ask the person who made your style how to make it fixed width.