table border=0 not working
3 posters
Page 1 of 1
table border=0 not working
Hello,
I just changed my forum theme to Invision Pro. Otherwise it looks and works great, but all my tables I have created to different posts appear with standard borders, even though I've set the code for "[table border=0]".
Is there any way to change this, probably something to do with the CSS? I only have basic CSS so there is nothing to change. But would be awesome to get a fix for this!
Thanks in advance.
I just changed my forum theme to Invision Pro. Otherwise it looks and works great, but all my tables I have created to different posts appear with standard borders, even though I've set the code for "[table border=0]".
Is there any way to change this, probably something to do with the CSS? I only have basic CSS so there is nothing to change. But would be awesome to get a fix for this!
Thanks in advance.
Handyy- Forumember
- Posts : 32
Reputation : 0
Language : English
Re: table border=0 not working
ok try to add qoutaion marks on the code to be
![table border=0 not working Icon_cool](https://2img.net/i/fa/i/smiles/icon_cool.gif)
- Code:
<table border="0">
- Code:
<table border =0>
![table border=0 not working Icon_cool](https://2img.net/i/fa/i/smiles/icon_cool.gif)
Re: table border=0 not working
That doesn't seem to do any difference.
But as I was testing, I noticed that the border=0 is actually not the standard, but 1px border. Border=1 creates the "standard" border.
Here's a table with 0 border on this forum with 2 columns. Works like it should. I wonder what's the problem with Invision Pro theme?
But as I was testing, I noticed that the border=0 is actually not the standard, but 1px border. Border=1 creates the "standard" border.
Here's a table with 0 border on this forum with 2 columns. Works like it should. I wonder what's the problem with Invision Pro theme?
col 1 | col 2 |
Handyy- Forumember
- Posts : 32
Reputation : 0
Language : English
Re: table border=0 not working
Add style attributes to your td tags
Html
- Code:
[table][tr][td style="border-style: solid; border-width: 0px;"]Content[/td][/tr][/table]
Html
- Code:
<table>
<tr>
<td style="border-style: solid; border-width: 0px;">Content</td>
</tr>
</table>
Re: table border=0 not working
Thanks for the answer. I was hoping though there would be some sort of CSS code, since that TD style will add a lot of extra code for a relatively big table...
Handyy- Forumember
- Posts : 32
Reputation : 0
Language : English
Re: table border=0 not working
Try adding the code to "table" to remove a large table border
- Code:
<table style="border-style: none">
<tr>
<td>Content</td>
</tr>
</table>
Re: table border=0 not working
It seems to be working only in the TD...RoNo wrote:Try adding the code to "table" to remove a large table border
Handyy- Forumember
- Posts : 32
Reputation : 0
Language : English
Re: table border=0 not working
There are numerous bugs in the BBCode on forumotion boards. phpBB2/phpBB3 boards have trouble with list and video BBCode tags. Invision boards have trouble with table BBCode tags. (PunBB is such a buggy program that I don't even care about it.)Handyy wrote:That doesn't seem to do any difference.
But as I was testing, I noticed that the border=0 is actually not the standard, but 1px border. Border=1 creates the "standard" border.
Here's a table with 0 border on this forum with 2 columns. Works like it should. I wonder what's the problem with Invision Pro theme?
col 1 col 2
The solution to your problem is to use HTML, not BBCode, to create your tables. Here's your example done in HTML. Try it on your board, and I bet it works fine.
- Code:
<table border="0"><tr><td>col 1</td><td>col 2</td></tr></table>
Guest- Guest
Re: table border=0 not working
Also... this Css to remove all borders will work with Html tables
- Code:
<style type="text/css">
<!--
table { border: none }
td { border: none }
th { border: none }
-->
</style>
</head>
<body>
<table>
<tr><th>Header 1</th><th>Header 2</th><th>Header 3</th></tr>
<tr><td>Content</td><td>Content</td><td>Content</td></tr>
</table>
</body>
</html>
Re: table border=0 not working
Hey thanks, using HTML works perfectly! That's the easiest solution no doubt, works even without using that CSS code.
Handyy- Forumember
- Posts : 32
Reputation : 0
Language : English
![-](https://2img.net/i/empty.gif)
» Table position in category, and how to hide category border and name, and reduce size of category to my table
» CSS Forum Table Border
» Templates Table border colour
» Invision Forum: How to make a table without the border lines?
» Table code not working
» CSS Forum Table Border
» Templates Table border colour
» Invision Forum: How to make a table without the border lines?
» Table code not working
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum