Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

padding-rigth problem

Status
Not open for further replies.

lipstick

Vendor
Jan 30, 2004
2
US

i'm having a problem with padding-right attributes on an img tag. It's the first time I've used padding-right so i figure I'm doing something obviously wrong.

i have the following code:
<tr><td valign=&quot;top&quot;><img style=&quot;float: left; padding-right: 15px; padding-bottom:150px;&quot; src=&quot;/123/124kylieminogue_.jpg&quot; width=100 height=100 ><span class=&quot;headline&quot;>Kylie Minogue</span><br>Body Language<br>Capitol<br><span class=&quot;copy&quot;>After years of either flopping in the United States or not releasing records

thx,

k
 
dont see why it snot working -- syntax is correct

Listen All I ask is that You close out a Post You Started!!!!
 
hmmmm. basically, with the code, i want to create 15px of buffering to the right of the image before the text starts appearing. the padding-bottom isn't working althought i only put that in to test.
 
try using margin instead

Listen All I ask is that You close out a Post You Started!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top