width problem

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"
Post Reply
piotr22
Forum Members
Forum Members
Posts: 53
Joined: Wed Nov 29, 2006 6:58 am

width problem

Post by piotr22 »

I would like  to set width in my site - 800px but  I can't.

I try change css.

help me please  where  and how ?
cyberman

Re: width problem

Post by cyberman »

Normally you can change it in layout stylesheet
div#pagewrapper {
  border: 1px solid black;
  margin: 0 auto;      /* this centers wrapper */
  max-width: 80em;  /* IE wont understand these, so we will use javascript magick */
  min-width: 60em;

  background-color: #fff;;
  color: black;
}
for Firefox and here
#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}
in template for IE.

An easy way could be too to change from
  max-width: 80em;  /* IE wont understand these, so we will use javascript magick */
  min-width: 60em;
to
  width: 800px
Post Reply

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