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\"> Link to comment https://forums.phpfreaks.com/topic/89029-background-image-reeat/ 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. Link to comment https://forums.phpfreaks.com/topic/89029-background-image-reeat/#findComment-456072 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.