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 Link to comment https://forums.phpfreaks.com/topic/4182-creating-background-that-doesnt-scroll/ 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] Link to comment https://forums.phpfreaks.com/topic/4182-creating-background-that-doesnt-scroll/#findComment-14518 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.