/    Sign up×
Community /Pin to ProfileBookmark

Large Body Background Image

Hey can anyone give me some advice as to what I should make the size of my body background image if I want it to cover the browser window of most screen resolutions? The body background image I’m using is not one that can be vertically or horizontally tiled. Can someone help me out here?

to post a comment
CSS

4 Comments(s)

Copy linkTweet thisAlerts:
@David_HarrisonFeb 19.2007 — That's a tricky one, because if you make it too big then it's not possible to see most of the design on it, but if you make it too small then it looks a bit naff on bigger monitors.

Well, my resolution is 1600x1200, and I browse with the window maximised. But I know that there are people with 30" monitors running at 2560x1600, so I guess that's the upper limit. Though the height of the page depends on how much content you put in it. And to constrain the width you could set a max-width on a conteiner element and set the background on that, with some sort of border and then a suitable repeating background on the body.

Can you post the image you want to use? It might be possible to modify it to repeat in at least one direction.
Copy linkTweet thisAlerts:
@David_HarrisonFeb 19.2007 — Ah, tricky.

Well the file size for that image is huge. Don't expect users on slow connections to hang around just for a background image. I'd suggest reducing the image in width to about 780px and having a gradual fade to a light blue at the bottom, where a background colour can take over. Then have your content in one column down the page.

Basically, a fixed width layout to fit on an 800x600 monitor. Perhaps you could push it to a fixed width 1024x768 layout if you can keep the background image size small enough.
Copy linkTweet thisAlerts:
@novemberGreyauthorFeb 19.2007 — sounds good, thanks for your help
×

Success!

Help @novemberGrey spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...