Page 1 of 1

Setting page width

Posted: Thu Jun 01, 2006 11:02 am
by Muzzy
Hi.
Can anyone tell me which file I need to edit to set the page width to 800px.

My picture for the header is 800px wide and I want to make the page fit for a nice look.

Thanks.

Re: Setting page width

Posted: Thu Jun 01, 2006 11:12 am
by cyberman
In stylesheet "Layout"

Code: Select all

    div#pagewrapper {
        margin: 0 auto;
        max-width: 80em;
        min-width: 60em;
        padding: 0;
        text-align: left;
Change max-width/min-width to your value.

Re: Setting page width

Posted: Thu Jun 01, 2006 3:24 pm
by Muzzy
Thanks for that Cyberman, will give it a go.

Mike.

Re: Setting page width

Posted: Mon Jun 05, 2006 6:49 am
by Muzzy
Have done as you suggested and it works just fine, only trouble is IE 6 still shows it up as a wide page but Firefox, IE 7 beta 2, Opera, Mozilla all display as 800 px.

Do I need to remove the IE hack/Javascript code from the Global Content thingy or is it something else? If I work with fixed layouts, do I need to have any IE hacks at all?

Thanks.
Mike.

Re: Setting page width

Posted: Mon Jun 05, 2006 1:24 pm
by Dr.CSS
the IE hack is for flex pages, so no need in fixed width pages...

Re: Setting page width

Posted: Mon Jun 05, 2006 1:36 pm
by tsw

Re: Setting page width

Posted: Mon Jun 05, 2006 2:04 pm
by Muzzy
Many thanks guys, as usual you are excellent with your advice and solutions.

Mike.