Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Using <div> to display structured results?
Old 10-29-2006, 07:56 AM Using <div> to display structured results?
Junior Talker

Posts: 4
Trades: 0
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>";
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.
solarpitch is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-29-2006, 08:14 AM Re: Using <div> to display structured results?
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,371
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
no idea.

seeing a screen shot rather than code is of no use at all.

Could make a guess but it probaly wouldn't help
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-29-2006, 08:18 AM Re: Using <div> to display structured results?
Junior Talker

Posts: 4
Trades: 0
.container {
clear:both;
border-bottom:1px solid #727272;
border-bottom-style:dashed;
border-bottom-color:#999999;


}
.image {
float:left;
padding-bottom:inherit;
border-color:#000000;
border-right-width:thin;
padding:3px;
border:1px solid #000000;
}

}
.title {
font-weight:bold;
}
.addtext {
border-color:#9E9E9E;
color:#999999;
font-family:"Arial Narrow";
font-size:18px;
font-weight:bold;
}
.section {
border-color:#9E9E9E;
color:#999999;
font-family:"Arial Narrow"
font-size:12px;
}

Thats the code of the stylesheet . . if that helps!
solarpitch is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Using <div> to display structured results?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25120 seconds with 12 queries