I use Ckeditor with drupal. When I use ckeditor to create table, it creates top borderline automatically and I can't get rid of top border on table.

CommentFileSizeAuthor
#2 TopBorderProblem.jpg15.62 KBexpertalmost
Picture 4.png323.3 KBbungae1111

Comments

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

expertalmost’s picture

Status: Closed (fixed) » Needs work
StatusFileSize
new15.62 KB

I have the same problem! How do I get rid of that top border line? My border is set to 0. Even if I have a table with no contents, it still displays the line.

Thanks!

expertalmost’s picture

Status: Needs work » Active
expertalmost’s picture

Version: 6.x-1.1 » 6.x-1.2
Component: User interface » Code

Greetings all!

I have reported this as a bug on the CKEditor development site. But according to Garry Yao (a developer there?), this is either a design feature or a configuration file issue. And my bug report ticket was marked invalid. But it is still active and critical here.

My new question is this: why would a design or configuration feature ONLY DISPLAY THE TOP BORDER OF A TABLE EVEN WHEN ALL BORDERS ARE SET TO 0?

It seems like we cannot use CKeditor to create tables unless we really want a top border because CKeditor gives them to us regardless.

What are other people using as a workaround for this "top border always everywhere" design feature? Or is tables in CKEditor a throwaway?

This bug is driving me crazy. Thank you for your insights and help.

a

dczepierga’s picture

Status: Active » Fixed

Fixed in CVS.

I overwrite system.css from Drupal.

dczepierga’s picture

Assigned: bungae1111 » Unassigned

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

teknikqa’s picture

This is because of a border-collapse property in system.css

Just add the following line to your theme's style.css

table {
  border-collapse: separate;
}