
[Solved] Help on auto-adjusting the "pagewrapper"..
[Solved] Help on auto-adjusting the "pagewrapper"..
Hi guys! Please help me in finding ways to add a code as to auto-adjust the width of the "pagewrapper" (please see marked image: 1, 2, 3, 4) so that it will match the width of the given image (please see marked image: 5) in the content page. Im stucked in here..


Last edited by Minefox on Wed Oct 03, 2012 11:54 pm, edited 1 time in total.
Re: Help on auto-adjusting the "pagewrapper"..
I need to have a flexible "pagewrapper" because im dealing with a varying image in the content block. And it doesn't look gook to have an image (big widths) that goes out of the border.
Re: Help on auto-adjusting the "pagewrapper"..
Hi Minefox,
You have to do some work and create an extra image for a background of the header, for example:

And then somethong like
Have fun, Rooon
You have to do some work and create an extra image for a background of the header, for example:

And then somethong like
Code: Select all
<div id="header-wrapper">
...header, photos, menu...
</div>Code: Select all
#header-wrapper {
background: #ffd200 url([[root_url]]/uploads/cms/bg-header.jpg) repeat-x top left;
}Re: Help on auto-adjusting the "pagewrapper"..
You can make it adjust but it will never be in the center of the page it will always start on the left side of the browser, you are better off making the image fit the page, nobody wants to look at a site/page that is going to be 3000px wide...
Re: Help on auto-adjusting the "pagewrapper"..
Hi Dr.CSS! I managed to have it enclosed in my border by just adding the code
Thanks guys!
to my stylesheet. Im already satisfied with the result.overflow-x:auto;
Thanks guys!


