FORUMS: list search recent posts

Background spanned across browser window

COW Forums : Web Design

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Adam Fischer
Background spanned across browser window
on Sep 4, 2008 at 4:31:44 pm

I have a question about getting a backround to repeat nicely both horizontally and vertically behind a web page so the full browser window looks like a nice complete design. I'm not sure if this is a simple line or two of code or not. I'm hoping it is because I'm not a web designer! Any input is much appreciated.

Here are some examples of what I mean:

http://www.reachrecords.com/index.php

This one just has a simple wooden plank that spans the top of the page but it looks nice.

http://www.red.com/

This one is a little different because the background doesn't move.

Thanks!


Return to posts index

Curtis Thompson
Re: Background spanned across browser window
on Sep 4, 2008 at 4:40:32 pm

hello...

the first one is flash set to 100% width and height of the browser, and you can set up how a background works in flash in that case...

the 2nd is a tiled image:

http://www.red.com/images/common/background.jpg

and then to hold it in place, they use the css attribute "background-attachment":

background-attachment: fixed;

which holds it in place while the content scrolls over it...

so to make a background that goes the whole width and height of a page, you either need to make one that tiles (like red.com did) or you need to make one that is always guaranteed to be big enough to catch users with wide browsers and also big enough to catch any height of your content...

hope that helps!

sitruc





Return to posts index

Adam Fischer
Re: Background spanned across browser window
on Sep 5, 2008 at 12:00:13 am

Thanks for the info! What do you think is the top end resolution most people are working at. I have my monitor at 1680x1050 and that seems pretty big. Do a lot of people go higher than that?



Return to posts index


Curtis Thompson
Re: Background spanned across browser window
on Sep 5, 2008 at 12:02:40 am

hello...

oh they can go crazy high, but consider also that surfing at anything much larger than 1280 wide or so is just not very beneficial, so you can probably keep it a bit bigger than that and be ok...

sitruc





Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]