|
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="" ?>"
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="" 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 ****************************************************** ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ****************************************************** |
- [WSG] Spans & Padding Ryan Moore
- Re: [WSG] Spans & Padding Christian Montoya
- Re: [WSG] Spans & Padding Designer
- Re: [WSG] Spans & Padding Philippe Wittenbergh
- Re: [WSG] Spans & Padding David Laakso
