vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   Problem with Table Border (https://vborg.vbsupport.ru/showthread.php?t=281535)

nit233 04-14-2012 05:50 AM

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

Lynne 04-14-2012 04: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 05: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 03:51 PM

Quote:

Originally Posted by nit233 (Post 2320233)
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 05:28 AM

Quote:

Originally Posted by Lynne (Post 2320369)
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 09:03 AM

I just figured out that we need to add [TABLE="class: grid"] for border.

Drucifer 03-26-2013 06: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 10:03 PM

You could probably use CSS.


All times are GMT. The time now is 01:17 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00990 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete