Mon, 2014-01-06 04:20
Been trying to add a space between an image and the text description next to it but the css I've tried isn't working. Can someone provide some assistance?
My attempts:
#latest_ads .premium_even .premium_odd .photo img{padding-right: 10px;}
#latest_ads .premium_even .premium_odd img{padding-right: 10px;}
The php generated html:
<div class="latest_ads"> <h1><strong>Premium Listings</strong></h1> <table border="0" cellspacing="0"> <tbody> <tr class="premium_even"> <td class="photo"> <img src="http://mywebsite.com/themes/nootka_colors/images/no_photo.gif" title="" alt="" /> </td> <td class="text"> <h3> <span style="float:left;"><a href="http://mywebsite/for-sale/fishing/waders_i5">Waders</a></span><span style="float:right;">Sponsored ad</span> </h3> <p style="clear: left;"> <strong>80.00 CAD$ - Gold River (Vancouver Island) - November 25, 2013</strong> </p> <p>A set of neoprene waders with boots for sale.</p> </td> </tr> <tr class="premium_odd"> <td class="photo"> <a href="http://mywebsite/services/web-designhosting/van-isle-bc-web-solutions_i4"><img src="http://mywebsite/uploads/3_thumbnail.jpg" width="75" height="56" title="" alt="" /></a> </td>
Mon, 2014-01-06 05:03
#1
I figured it out. I used
I figured it out. I used this and it worked.
.home #main .latest_ads table td.photo img {padding-right: 10px;}
Wed, 2014-01-29 09:46
#2
Hi nootkan,
Hi nootkan,
There is your create image is one of table definition like . your create a td also one class so here next you are create images also another one class there is you set your padding is correct.. its ll come to text and images space and then other   used...