iuli_kyle Posted October 18, 2007 Share Posted October 18, 2007 Hi,I'm new to web programming. But here's my question :It is possible to resize the background image of a site in that order that it will suit all resolutions? With JavaScript ? Or with what ?And if someone knows how, please write the code down so i only need to copy-paste it, because i don't know yet JavaScript. Thnx in advance ! Link to comment Share on other sites More sharing options...
Chozo4 Posted October 18, 2007 Share Posted October 18, 2007 (edited) Perhaps this page may be of use :")http://www.boutell.com/newfaq/creating/backgroundfill.htmlhttp://www.thescripts.com/forum/thread503034.htmlWouldn't it be more convinient to just size it to the browser window size itself rather than to match desktop resolution? Edited October 18, 2007 by Chozo4 Link to comment Share on other sites More sharing options...
iuli_kyle Posted October 18, 2007 Author Share Posted October 18, 2007 Perhaps this page may be of use :")http://www.boutell.com/newfaq/creating/backgroundfill.htmlhttp://www.thescripts.com/forum/thread503034.htmlWouldn't it be more convinient to just size it to the browser window size itself rather than to match desktop resolution?Thnx, yeah, i would be. but if users exploring the web page who have other resolutions then me, that the page will screw-up. Link to comment Share on other sites More sharing options...
ripken204 Posted October 18, 2007 Share Posted October 18, 2007 why worry about that? you should make the site static as in having a set width. that way you dont have to worry about different resolutions and it will be much easier to design the site. Link to comment Share on other sites More sharing options...
Idontwantspam Posted October 19, 2007 Share Posted October 19, 2007 I've got to disagree with you on that one, Ripken. Users with large screens will have a lot of wasted space, and users with smaller screens will have overflow issues. It's much better to use CSS for layout and let the page flow and adjust according to the resolution. Anyhow, as for background, I'll cook something up this weekend when I have time. Link to comment Share on other sites More sharing options...
ripken204 Posted October 23, 2007 Share Posted October 23, 2007 well for the users with large screens, you will then end up with lots of white space all over the place and it can make the page lool ugly. also the design may look screwed up as well. and the majority of people dont have large screens. i code my sites for 1024x768. as for small screens, overflow issues? just use the scroll bar, my sites still look the same but u just need to scroll. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now