Computing.Net > Forums > Programming > html cellpadding to the right

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

html cellpadding to the right

Reply to Message Icon

Original Message
Name: giovanigonzales
Date: July 2, 2008 at 09:51:01 Pacific
Subject: html cellpadding to the right
OS: Windows XP
CPU/Ram: 512 MB
Model/Manufacturer: DELL
Comment:

Is there any way to set the cellpadding only the "right" component?
for example in the next table:
<table border="1" cellpadding=3>
<tr align="right"><td width="50">1</td><td width="50">2</td></tr>
<tr align="left"><td>3</td><td>4</td></tr>
<tr align="right"><td>5</td><td>6</td></tr>
<table>

I am satisfied with the left padding for the row where the data is left-aligned, but I wish to set 10 pixels the "right-cellpadding" at the other two rows. Is it possible?

thanks


Report Offensive Message For Removal


Response Number 1
Name: FishMonger
Date: July 2, 2008 at 10:18:13 Pacific
Reply: (edit)

Report Offensive Follow Up For Removal

Response Number 2
Name: giovanigonzales
Date: July 2, 2008 at 11:14:21 Pacific
Reply: (edit)

Thanks. I guess its not possible with html only (without css), right?


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you own an iPhone?

Yes
No, but soon
No


View Results

Poll Finishes In 6 Days.
Discuss in The Lounge
Poll History




Data Recovery Software