web pages don't fill the browser window

web pages don't fill the browser window

Saturday 03 March 2007 12:05:17 pm - 1 reply

Author Message

paul bolger

Saturday 03 March 2007 10:06:18 pm

Hi Ndjientcheu

This is more a CSS question than an eZpublish one.

body{margin:0;padding:0} in your stylesheet should fix the sides. The bottom can be a bit trickier, in CSS container elements usually stretch downwards to accomodate their contents. If the viewport (the browser window) is bigger than the content the container element won't stretch to the bottom. There are ways to get around this, but they are a bit involved and won't necessarily work in all browsers.

Take a look at alistapart.com or meyerweb.com for some good articles on CSS.

Paul Bolger

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.