PDA

View Full Version : Problem with Table Border


nit233
04-14-2012, 04:50 AM
Hi,

I am using vb 4.1.11 version and I have facing problem with Table Borders.

There are few post which have table inside, now whenever a user edits these posts the table border goes off.

I add .table { border : 1 px; } in the additional.css but still the <td> borders just get erased automatically when edited.

I know this is because of the ckeditor because I never faced this issue with the 4.0.8 version.

Can someone please help.

Thanks

Lynne
04-14-2012, 03:39 PM
I just posted a table in a post in my 4.1.11 test site and it shows the borders just fine. It's a default style and I have added no additional CSS to show it.

Create a new style with no parent:

Styles & Templates > Style Manager > Add New Style
Parent Style: No Parent Style
Title: Default vBulletin
Allow User Selection: Yes
Save

Then browse the site using that totally default vbulletin style - do you still have the same problem with the table?

nit233
04-15-2012, 04:22 AM
Hi Lynne,
Try and edit the post which contains the table, once you edit it the border goes missing.
There is not problem with creating post with table, but when you edit it.

It is fine with version before 4.1.4, so I guess it may be due to the CKEditor.

Lynne
04-15-2012, 02:51 PM
Hi Lynne,
Try and edit the post which contains the table, once you edit it the border goes missing.
There is not problem with creating post with table, but when you edit it.

It is fine with version before 4.1.4, so I guess it may be due to the CKEditor.
I did try to edit it after I had created it. I just went and did so again. It's still just fine for me - the border is still there.

nit233
04-16-2012, 04:28 AM
I did try to edit it after I had created it. I just went and did so again. It's still just fine for me - the border is still there.

Hi Lynne,

My fault, it was conflicting with one of the add ons.
Thanks a lot for your help.

Regards
Nitin G

nit233
04-18-2012, 08:03 AM
I just figured out that we need to add [TABLE="class: grid"] for border.

Drucifer
03-26-2013, 05:31 PM
Is the any way to change the border grey color to a color of my choosing.

I tried adding the red . . . . border-style: solid, border-color: #003399, width: 500, class: outer_border, align: center

But it had zero effect. I also tried adding background-color: #FF7711 but that also had no effect.

Lynne
03-26-2013, 09:03 PM
You could probably use CSS.