Ryan Moore wrote:
I am having a real problem with the this mark up.
.featured_listing {
clear:both;
display:block;
margin:0 0 1.5em 0;
}
.featured_image {
height:158px;
width:240px;
float:left;
}
.featured_listings_details {
clear:none;
margin:0;
list-style:none;
padding:0;
}
.featured_left_col {
width:25em;
margin:0.5em;"
}
.featured_right_col {
width:250em;
padding:0 1em;
}
<div class="featured_listing">
<span class=“ featured_left_col“><img class="featured_image"
src="images/some_image.gif ?>" alt="" /></span>
<span class=”.featured_right_col”>
<ul class="featured_listings_details">
<li><strong><?php echo $row['status'] ?></strong></li>
<li><?php echo $row['address'] ?> - <?php echo $row['cost'] ?></li>
<?php $description = $row['description']; ?>
<li><?php echo smart_trim($description,$length,true) ?></li>
<li><a href="property-view.php?id=<?php echo $row['id']; ?>">View
Details</a></li>
</ul>
</span>
</div>
The problem is in the the .featured_left_col & featured_right_col both
choose to ignore anything related to width, padding or margins?
Ideally, I’d like to be able to place a border around the
featured_listing class but I can’t do that if I replace the
featured_col… with div’s. The border get’s eaten up and will not
display. This occurs in all major browsers on PC.
Some help would be much appreciated.
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
Hi Ryan,
Most folk are busy, most have headaches with their own problems, so most
would find it a lot easier if there was a URL to look at to see this
stuff of yours. Have you got one we could see?
(I'm not being sarcy - I'm trying to be helpful . . . )
--
Best Regards,
Bob McClelland
Cornwall (UK)
www.gwelanmor-internet.co.uk
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************