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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.