/    Sign up×
Community /Pin to ProfileBookmark

Need a image to stretch across regardless of monitor size

I have this image I’d like to use at the top of my page and I’d like it to fit any screen size. I haven’t really started coding much so I’ll show you what I got as well as a screen shot of how it apperars right now.

[CODE]
body {background:#00b4e0 url(header.gif) no-repeat;}
[/CODE]

[URL=”http://mikegreenia.com/mccoy/screen.jpg”]http://mikegreenia.com/mccoy/screen.jpg[/URL]

to post a comment
CSS

1 Comments(s)

Copy linkTweet thisAlerts:
@skywalker2208Jan 20.2010 — Why not just use the img tag because it looks like the header image is a set width and not something you can repeat? I don't think you can use the background css tag to be the full screen unless you use repeat. Take a look at

http://css.flepstudio.org/en/css-tips/100-percent-background-image.html
×

Success!

Help @mikegreenia_com 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.18,
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,
)...