sandy1028 Posted February 2, 2008 Share Posted February 2, 2008 Hi, I have the code where I have the url for the image. But the image is repeating. How do I solve this echo "<div style=\"position:absolute;left: 20px; top:620; background-image: url(./gocbgpercent.jpg); border: 1px none #000000\"> Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted February 2, 2008 Share Posted February 2, 2008 By default background images will repeat. If you don't want them to repeat add: background-repeat: no-repeat; To your style. 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.