Hi. I am starting a project and here's the basic idea: i'm trying to make a button that changes the background(not hard) but now i want to make the background image fit the size of the screen, and if possible not with css(php or javascript would be great) because it'll be easy with a function, but if there is a way to make some magic to the background with css let me know. There are 10 different backgrounds and i want to put the url from the internet because the resolution of monitors differs. Thank you!
freakvista
0
Light Poster
Recommended Answers
Jump to PostHave you written any code as of yet to work with?
Jump to PostWhere is the picture? Is the picture the background-image for the page, just an element on the page that you need to update?
All 8 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
freakvista
0
Light Poster
freakvista
0
Light Poster
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Gaqua77
0
Light Poster
freakvista
0
Light Poster
freakvista
0
Light Poster
freakvista
0
Light Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.