brown2005 Posted March 8, 2007 Share Posted March 8, 2007 i want to have 10 images in a while loop, going straight down, 1 under each other, would it be best to <ul> while() { <li><img></li> } </ul> and how would i leave a little space between the images? please Quote Link to comment https://forums.phpfreaks.com/topic/41866--/ Share on other sites More sharing options...
brown2005 Posted March 8, 2007 Author Share Posted March 8, 2007 i just thought no i wouldnt as that is a list, so what would be best with images, use <div> on all of them Quote Link to comment https://forums.phpfreaks.com/topic/41866--/#findComment-203011 Share on other sites More sharing options...
wildteen88 Posted March 10, 2007 Share Posted March 10, 2007 If you want 10 images going down just use the img tag and after it a line break <br /> However you can use a list if you wish. Or wrap them in span (<span>img></span>) and give the span tags a bit of margin for the top and bottom to space the images out. Quote Link to comment https://forums.phpfreaks.com/topic/41866--/#findComment-204249 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.