shujjah Posted June 23, 2007 Share Posted June 23, 2007 for eg i have this html code <tr><td><img class="rl" src="images/rl.gif" width="10" height="10" alt=""></td></tr> and i want to make the image repeat-ywhat will i do img.rl{repeat-y;} doesnt seem to work Link to comment Share on other sites More sharing options...
-Mike- Posted June 23, 2007 Share Posted June 23, 2007 You should put it all in css if you are going to repeat it .rl{background: url(images/rl.gif) repeat-y;width:10;height:10;} <tr><td><div class="rl"></div></td></tr> Link to comment Share on other sites More sharing options...
justsomeguy Posted June 25, 2007 Share Posted June 25, 2007 Only background images can repeat. You can't repeat an <img> tag with CSS. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.