/    Sign up×
Community /Pin to ProfileBookmark

Background Image problem with small browser windows

Hi everyone,
thanks in advance for any help you can give me.

I’m developing a splash page for [url]http://festivize.com/[/url]

I think it looks pretty good, however when the browser window gets smaller than 950px the background image begins to shift. This is fine, really. The problem is that when you horizontal scroll over to the right to read the text the background has now been cut off and looks terrible.

Is there a better method to get the desired layout than my current solution?

My relevant css is:

[CODE]
#background_img{
overflow: visible;
margin: auto;
background: url(“../images/splash1.jpg”) no-repeat top center;}
#container{
width: 950px;
margin: auto;
position: relative;}
#header{
width: 100%;
height: 140px;}
#content{
width: 730px;
margin-left: 220px;
color: #cccccc;}
[/CODE]

Thanks again for any help and hints!
Christopher Wright

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@Major_PayneDec 28.2010 — Might look into doing it this way:

CSSPlay
×

Success!

Help @tawfer 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...