mbrost Posted March 6, 2006 Share Posted March 6, 2006 Hi there,I am wondering if there is a snippet of code I can add to my php page so I can have a background image that does NOT scroll -- preferably that works with both Firefox and IE (and Netscape if such a thing exists)Thanks guys/gals!Mike Quote Link to comment Share on other sites More sharing options...
AndyB Posted March 6, 2006 Share Posted March 6, 2006 [a href=\"http://www.w3schools.com/css/tryit.asp?filename=trycss_background-attachment\" target=\"_blank\"]http://www.w3schools.com/css/tryit.asp?fil...ound-attachment[/a]example[code]<style type="text/css">body {background-image: url('smiley.gif');background-repeat: no-repeat;background-attachment: fixed}</style>[/code] Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.