Solarpitch Posted October 29, 2006 Share Posted October 29, 2006 Hey Guys, I am having a problem with sorting results using <div>. I have the following code...[code]echo " <div class='container'> <div class='section'>$section</div> <div class='addtext'>$addtext</div> <div class='image'><img src='Design%20Folder/r7.jpg' alt='image' /></div> <div class='offwant'>$offwan</div> <div class='price'>$price</div> <div class='phone'>$phone</div> </div>";[/code]If you look at http://xs.to/xs.php?h=xs108&d=06430&f=example.gif ... Currently my code is displaying like the top image but how could I get it to format like the bottom one?I 've messed around with it for aged but still no joy!Cheers,Gerard. Quote Link to comment https://forums.phpfreaks.com/topic/25477-problem-structuring-with/ Share on other sites More sharing options...
wildteen88 Posted October 29, 2006 Share Posted October 29, 2006 I had a little play and came up with [url=http://homepage.ntlworld.com/cshepwood/Solarpitch/test.html]this[/url]That is as close as I could get it to the bottom image. You can use the code if you wish. Quote Link to comment https://forums.phpfreaks.com/topic/25477-problem-structuring-with/#findComment-116250 Share on other sites More sharing options...
Solarpitch Posted October 29, 2006 Author Share Posted October 29, 2006 Man thats brilliant! Thanks very much . . finally I can move on in my application! Thanks again :)Gerard. Quote Link to comment https://forums.phpfreaks.com/topic/25477-problem-structuring-with/#findComment-116254 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.