Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Design and Graphics Discussions
  #1  
Old 04-14-2012, 05:50 AM
nit233 nit233 is offline
 
Join Date: Dec 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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 04-14-2012, 04:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #3  
Old 04-15-2012, 05:22 AM
nit233 nit233 is offline
 
Join Date: Dec 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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 04-15-2012, 03:51 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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.
Reply With Quote
  #5  
Old 04-16-2012, 05:28 AM
nit233 nit233 is offline
 
Join Date: Dec 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
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 04-18-2012, 09:03 AM
nit233 nit233 is offline
 
Join Date: Dec 2009
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just figured out that we need to add [TABLE="class: grid"] for border.
Reply With Quote
  #7  
Old 03-26-2013, 06:31 PM
Drucifer's Avatar
Drucifer Drucifer is offline
 
Join Date: Feb 2010
Location: NY Hudson Valley
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #8  
Old 03-26-2013, 10:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could probably use CSS.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 06:44 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04249 seconds
  • Memory Usage 2,221KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete