Jump to content

Problem structuring with <div> ?


Solarpitch

Recommended Posts

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.
Link to comment
https://forums.phpfreaks.com/topic/25477-problem-structuring-with/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.