Php_Ghost Posted May 30, 2010 Share Posted May 30, 2010 I have just completed html and php. I want to make a series of pictures so I am trying put a text below a pic then some space and another pic so on. <img src = "/12.png"><br> <a href = "/123.html'>Raja</a> This is starting but it is not coming in row format just due to break another picture starting from next line but i just want some space and name. Any idea how to do so? Quote Link to comment https://forums.phpfreaks.com/topic/203333-how-to/ Share on other sites More sharing options...
trq Posted May 30, 2010 Share Posted May 30, 2010 Remove the <br> ? Your question is about as clear as mud. Quote Link to comment https://forums.phpfreaks.com/topic/203333-how-to/#findComment-1065272 Share on other sites More sharing options...
Php_Ghost Posted May 30, 2010 Author Share Posted May 30, 2010 Hi brother Please take a look over this picture. i want to make series like this Quote Link to comment https://forums.phpfreaks.com/topic/203333-how-to/#findComment-1065277 Share on other sites More sharing options...
arbitter Posted May 30, 2010 Share Posted May 30, 2010 Don't really see what you mean, but put in in a table? <table> <tr> <td> <img src='....jpg' /> </td> <td> <img src='....png'/> </td> </tr> <tr> <td> Text ... Quote Link to comment https://forums.phpfreaks.com/topic/203333-how-to/#findComment-1065289 Share on other sites More sharing options...
ignace Posted May 30, 2010 Share Posted May 30, 2010 <ul id="gallery"> <li><a href="#"><img src="path/to/image.file" width="100" height="100"> <span class="caption">BYEEE</span></a> </li> <li><a href="#"><img src="path/to/image.file2" width="100" height="100"> <span class="caption">HIII</span></a> </li> </ul> ul#gallery li { display: block; float: left; } ul#gallery li a img, ul#gallery li a span { display: block; } ul#gallery li a { text-align: center; text-decoration: none; } ul#gallery li a span { color: #000; } ul#gallery li a:hover span { border-bottom: 1px solid #000; } Quote Link to comment https://forums.phpfreaks.com/topic/203333-how-to/#findComment-1065301 Share on other sites More sharing options...
ram4nd Posted June 5, 2010 Share Posted June 5, 2010 You can also use floating div's what suits your need the best. I would use divs. Quote Link to comment https://forums.phpfreaks.com/topic/203333-how-to/#findComment-1068343 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.