Table without borders
-
Hello,
The ‘ <table style=”border:none;”> ‘ tag isn’t hiding the borders of the specific table.
What could result in this? Could any other CSS applied in my blog override this style?Thanks in advance
The blog I need help with is: (visible only to logged in users)
-
Hi lessafabio,
The reason this is not taking away the borders is because the cells of the table also have borders applied to them.
If you need to do this with inline css you would need to add the border: none to ever td element in the table as well. Something like this:
<td style="border: none;">If you had the Custom Design add on you could give the table a class and then apply the css in your Custom CSS section to make it easier and less code.
http://en.support.wordpress.com/custom-design/
Hope that helps.
-
Hi there,
Try the following CSS:
#content-blog table tbody tr td { border: none; }Let me know how that works.
-
It worked perfectly using the attribute in <td>, like sandymcfadden said.
I believe the eurello’s suggestion would hide the borders of all tables. I wanted to hide just in one case. But thanks for your help too.
- The topic ‘Table without borders’ is closed to new replies.