Page 1 of 1

About Pagewrapper and Document-wide settings

Posted: Fri Oct 31, 2014 2:09 am
by KitchM
Is it correct to say that the pagewrapper attribute, signified by

Code: Select all

    < body>
      <div id="pagewrapper">
has a global effect for the whole document? Or is is for the whole canvas?

Also, is this the preferred place to reference a global background gradient color?

Thanks.

Re: About Pagewrapper and Document-wide settings

Posted: Fri Oct 31, 2014 2:37 am
by Dr.CSS
The pagewrapper div in some of the default templates is the container around the whole site, keeps it a certain size etc. as for the rest of your question you may need to explain in a little more detail...

Re: About Pagewrapper and Document-wide settings

Posted: Fri Oct 31, 2014 1:09 pm
by KitchM
Thank you very much.

I believe that I am thinking in relationship to viewport versus canvas. I want to make sure that we are talking about the whole canvas.

What makes the pagewrapper div override other settings in other divs?

Re: About Pagewrapper and Document-wide settings

Posted: Wed Dec 17, 2014 7:06 pm
by Dr.CSS
When you target a div in CSS it doesn't do anything that you don't tell it to do so it doesn't override anything, I think you are kind of confused about viewport, which is the area inside the browser where the website is, and canvas, which is the whole basically the same thing but used in a different manner when speaking about web sites...