Auto Expanding the page

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
bholabhala
New Member
New Member
Posts: 3
Joined: Tue Jan 08, 2013 4:48 am

Auto Expanding the page

Post 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>
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1606
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: Auto Expanding the page

Post 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.
Not getting the answer you need? CMSMS support options
Locked

Return to “Layout and Design (CSS & HTML)”