Table border not visible

swamytk - March 26, 2008 - 05:27
Project:FCKeditor - WYSIWYG HTML editor
Version:5.x-2.1-beta2
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active (needs more info)
Description

Table border is not visible in view mode. but cell borders are shown properly
In edit mode, it is shown properly.

#1

wwalc - March 26, 2008 - 13:32
Priority:critical» normal

I'm not sure what do you mean.
Could you attach a screenshot to explain this more clearly?

Make sure that you have properly configured "Input formats" (Allowed HTML tags).

#2

Jorrit - June 25, 2008 - 09:56
Status:active» active (needs more info)

#3

neofactor - August 27, 2008 - 01:22

I believe the issue is this:
Drupal Core styles.css uses img { border: 0; }

FCKEditor assigns a brder to an image with the border=x

The CSS is trumping your border= call.

Questions:
How do you get FCKEditor to NOT use the border tag but rather use Style="border:x;" ?

The reason drupal uses the border: 0 is because it is XHTML compliant to do so. FCKEditor NEEDS to not use the deprecated tags... it needs to use styles, even if they are inline.

Please TELL me how to implement this. It is driving me crazy!

#4

Jorrit - August 27, 2008 - 09:16

I thought this was about table borders and not image borders?

#5

neofactor - September 5, 2008 - 09:30

sorry... I guess I read my own issue int the problem.
:)

 
 

Drupal is a registered trademark of Dries Buytaert.