Page 1 of 1

Auto Expanding the page

Posted: Mon Apr 23, 2018 10:51 pm
by bholabhala
Howdy
I used to have News summary on the left side of the page and i removed it. Now, i have the page skewed to the right and white space on the left. Is there anyway to change template/css/both to auto expand it horizontally?

Here's what i have right now:

Code: Select all

    <!--[if lte IE 6]>
    <style type="text/css">
    #pagewrapper {width:expression(P7_MinMaxW(720,950));}
    #container {height: 1%;}
    </style>

Re: Auto Expanding the page

Posted: Mon Apr 23, 2018 11:53 pm
by DIGI3
I think the most difficult part of checking that css is going to be finding a copy of IE6 to test it on.

Once you get that sorted out, typically for 'auto expand' you just give everything a percentage. If your main content area has width: 80%; then set the sidebar to width: 20%;

There's lots of caveats to the above, but some basic CSS tutorials should get you started. You may also want to consider a modern framework such as Bootstrap or Foundation.