Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in HTML CSS only
Search
Advanced Search
Forums
BYTES
Product Launch
Updates
Developer Toolkit
Member List
Calendar
Today's Posts
Home
Forum
Topic
HTML CSS
Autosizing Backgrounds
Autosizing Backgrounds
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
PlushifiedNaruto
New Member
Join Date:
Oct 2006
Posts:
9
#1
Autosizing Backgrounds
Oct 30 '06, 04:30 PM
Is there a CSS code to make my background image to where it will automatically resize to the resolution of your screen?
AricC
Recognized Expert
Top Contributor
Join Date:
Oct 2006
Posts:
1885
#2
Oct 30 '06, 05:37 PM
Try this
You may want to use something that repeats as your background image. Depending on the size of your image it will take longer for your page to load, also if someone comes to your site with a monitor res bigger than your image the image will stretch.
HTH,
AricC
Comment
Post
Cancel
PlushifiedNaruto
New Member
Join Date:
Oct 2006
Posts:
9
#3
Nov 1 '06, 05:57 AM
well i would but the whole theme of my site would be ruined if i changed the bg. so that isnt an option.
Comment
Post
Cancel
AricC
Recognized Expert
Top Contributor
Join Date:
Oct 2006
Posts:
1885
#4
Nov 1 '06, 03:04 PM
Did you try putting the image in a table or div?
Comment
Post
Cancel
PlushifiedNaruto
New Member
Join Date:
Oct 2006
Posts:
9
#5
Nov 1 '06, 03:59 PM
well i put the bg in a table but the picture stays the same size and it negates the no scroll code. also what is a div?
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
👍
👎
☕
Comment