nealios Posted December 2, 2007 Share Posted December 2, 2007 I am using a GIF and utilising the repeat x function. That repeats the image horizontally from one side of the screen to the other. Is it possible to limit the amount of times the image repeats? For example setting the image to only repeat 5 times across? background:#fff url(prodrop2/button1a.gif) repeat-x; position:relative; Many thanks Nealios Link to comment https://forums.phpfreaks.com/topic/79831-css-repeat/ Share on other sites More sharing options...
~n[EO]n~ Posted December 2, 2007 Share Posted December 2, 2007 I don't think CSS has any property to define bg image repeat x times, but you can make width of td = total width of 5 images or so... . http://www.w3schools.com/css/pr_background-repeat.asp I don't see here too... Link to comment https://forums.phpfreaks.com/topic/79831-css-repeat/#findComment-404251 Share on other sites More sharing options...
ToonMariner Posted December 2, 2007 Share Posted December 2, 2007 no repeat-x will repeat until the end of the element is found wether that be 3 or 33 repeats of the image. Link to comment https://forums.phpfreaks.com/topic/79831-css-repeat/#findComment-404533 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.