mreigle Posted January 27, 2006 Posted January 27, 2006 Is there any way to have a different background image with each screen resolution using the stylesheet? If not, is there any way to do it without going to each individual page and adding a JavaScript? Thanks! :thumbsup:
Wendy James Posted January 27, 2006 Posted January 27, 2006 I did a search on google and came up with this but no clue if it works or not. html { background-image: url(image.png); background-attachment: fixed; background-repeat: no-repeat; background-position: left top; } @media all and (min-width: 1025px) { html {background-image: url(image2.png);}} @media all and (min-width: 1281px) { html {background-image: url(image3.png);}} Wendy James Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
241 Posted January 27, 2006 Posted January 27, 2006 and this would be in relation to this post http://www.oscommerce.com/forums/index.php?sho...28entry785228 No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.