Christopher wrote:
> Anyone know how I can get my background to fit the full screen, I posted 
> a link a few day ago.

If you want a background to fill the browser-window - declare it on 
html/body and let it repeat.

If you want a block-element (a div for instance) to span the same full 
browser-window - leave element-'width' at default (auto) and declare the 
background on it and let it repeat in both directions.

Element-'height' is normally left to depend on amount of content - 
letting it grow with content, but if you ain't got any content you can 
make all decent browsers (and a few not so decent ones) go to full 
browser-window-'height' with the following...

html, body {height: 100%;}
element {min-height: 100%;}
* html element {height: 100%;}

Example: <http://www.gunlaug.no/tos/moa_14a.html>
...but note that this example has restricted element-'width'.

All the above is elementary CSS layout methods. What isn't so elementary 
is that older browser-versions are not always up to the relevant CSS, 
and that browsers are not in perfect agreement about how to interpret 
every possible combination of CSS properties/values.

One must also take into account that screen-dimensions and 
browser-window-dimensions at the user-end are unknown to the designer. I 
personally range them from 200 x 200 to 4000 x 4000, just to be somewhat 
on the safe side. 600 x 400 to 2400 x 1800 is more realistic.

So, the exact method that'll work best for you, can only be sorted out 
once the whole set of design-ideas you have are known and tested across 
browser-land and window-sizes.

I suggest you create a few (dozen) test-cases until you've got a hang of 
basic CSS design.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to