No mater what I do I still get top border for my table in D6.4 using latest FCKeditor. I made the border attribute zero and even created style for my table with ; border-top:none, zero but still have a top border in FireFox and Chrome

This is an example
http://kirmashan.com/drupal/?q=node/13

Ten I realized also that FCK change my style border:none to border: medium none. This happen every time I save the file.

Comments

amir simantov’s picture

Title: Tabke Top border issue with FCKeditor » Table Top border issue with FCKeditor
Version: 6.x-1.3-rc1 » 6.x-2.0-alpha4

I have the same problem with several sites. However, border code is shown correctly in the source code, that means:
border="0"

Jorrit’s picture

Status: Active » Postponed (maintainer needs more info)

It's actually a border-top on the tbody element, which is drupal default. You can try to override it for tables in div.content by using:

div.content tbody {
  border-top: none;
}

This code is untested, check if it works for you.

Jorrit’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Closed because of inactivity.

amir simantov’s picture

Thanks Jorrit - that helped :-)

Amir

amir simantov’s picture

Version: 6.x-2.0-alpha4 » 6.x-1.4-rc1
Status: Closed (fixed) » Active

I open it again. For some reason, this fix in the CSS does not solve the problem any more.

tolaemon’s picture

I had the same problem with the top of the tables: every time I added a table into a content with FCK, a grey line apeared in the top of the table. I used Mozilla's Web Developer plugin to locate the cause of the problem and found that one of the .css was overidin my table configuration. This css was the system.css located into the modules/system/ folder:

tbody {
/* border-top: 1px solid #ccc; */
}

I comented the "border-top: 1px solid #ccc;" line and the problem disapeared. Anyway I'm not sure if doing that is a good Drupal practise because Drupal's default files shoud stay unmodified, but the fact is that is the only way I've been able to solve this issue.

Hope it helps to you too.

Jorrit’s picture

Status: Active » Closed (fixed)

I am closing this issue as it is not really an FCKeditor problem.

amir simantov’s picture

Thanks tolaemon!