Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Apr 2012, 07:50
nit233 nit233 is offline
 
Join Date: Dec 2009
Problem with Table Border

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
Reply With Quote
  #2  
Old 14 Apr 2012, 18:39
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
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?
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #3  
Old 15 Apr 2012, 07:22
nit233 nit233 is offline
 
Join Date: Dec 2009
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.
Reply With Quote
  #4  
Old 15 Apr 2012, 17:51
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
Originally Posted by nit233 View Post
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.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
  #5  
Old 16 Apr 2012, 07:28
nit233 nit233 is offline
 
Join Date: Dec 2009
Originally Posted by Lynne View Post
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
Reply With Quote
  #6  
Old 18 Apr 2012, 11:03
nit233 nit233 is offline
 
Join Date: Dec 2009
I just figured out that we need to add [TABLE="class: grid"] for border.
Reply With Quote
  #7  
Old 26 Mar 2013, 19:31
Drucifer's Avatar
Drucifer Drucifer is offline
 
Join Date: Feb 2010
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.
__________________
DREW

Running vB v5.4.1 at Mets Global
Reply With Quote
  #8  
Old 26 Mar 2013, 23:03
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Real name: Lynne
You could probably use CSS.
__________________
Former vBulletin.org Staff Member

Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools -
Online vBulletin Manual
If I post some CSS and don't say where it goes, put it in the additional.css template.
I will NOT help via PM (you will be directed to post in the forums for help.)
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 23:36.

Layout Options | Width: Wide Color: