remove horizontal lines in html table
<table style="border:0 none;"> <tbody> <tr> <td style="border:0 none;">TEXT</td> <td style="border:0 none;">TEXT</td> </tr> </tbody></table>
I have the same problem in my tables. … Since i am using them to create a frame around an image, it looks awful.
This is what the table should look like. It looks ilke this in the rss feed from the wordpress site, and it looks like this in all the editors I am working with.
this is what it looks like on WordPress. … And I hate it!
<table border="0" cellpadding="0" cellspacing="0" width="449" align="right">
<td><img src="http://ijak.files.wordpress.com/2012/01/spacer.gif?w=74&h=1" width="74" height="1" border="0" alt="" /></td>
has been deprecated. You need to use inline styling instead (in the html editor):
<table style="border:0 none;">
Twenty Ten has CSS coding built in to add borders, so you need to style each td tag to over-ride that:
<td style="border:0 none;">TEXT</td>
See the basic table code I showed above.
Note: TEXT in your case would be IMAGE in the sample code.
What editors are you using to make your table?
Thank you. … I will get to that table test asap.
I started with Fireworks, and them moved on to BBEdit and MarsEdit.
You are welcome: your table is a bit more complicated than the OP’s table so it may need a little more tweaking.
Is there a reason that you don’t make your frame in Photoshop (or other editing program)?
I like Fireworks. And previously, the tables it created worked fine.
Since my source images live on smugmug, and I can say what size I wish to display, I can pick any image I have on Smugmug, and using MarsEdit, I can create a template that wraps around that image source url, so that is all I have to do.
That means that I can pick any image I have on SmugMug, and push the template onto MarsEdit, and then just write what I want, then hit publish and it goes to wordpress.
That saves a lot of working in Photoshop creating a frame for each Image i wish to blog about.
By the way, your suggestions only partially worked, so I have simplified the table, and will try again. … This time I will try all you suggested and a couple other things.
The topic ‘remove horizontal lines in html table’ is closed to new replies.