Opened 17 years ago

Closed 11 years ago

#589 closed New Feature (fixed)

Using STYLE attribute when formatting IMG tag

Reported by: cristea@… Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: SF Cc:

Description

I think that using STYLE attribute in IMG tag to set the distance between picture and wrapping text is better than VSPACE and HSPACE.

Is not because of the W3C recomandations but it is more practical. For example if you have a picture with ALIGN attribute set to LEFT, HSPACE will set also a margin to the left side of the picture. You can prevent this by using, for example, STYLE="margin-left:0px;margin-right:10px;" instead of HSPACE="10".

For this reason you should consider modifications to the image dialog pop-up.


Moved from SF:
http://sourceforge.net/tracker/index.php?func=detail&aid=743886&group_id=75348&atid=543656

Change History (6)

comment:1 Changed 17 years ago by Martin Kou

Reporter: changed from Martin Kou to cristea@…

comment:2 Changed 17 years ago by Martin Kou

Type: BugNew Feature

comment:3 Changed 16 years ago by Wojciech Olchawa

Keywords: Confirmed added

It would be a good idea to enhance the image option by adding an option to choose whether to use CSS on or not.

comment:4 Changed 16 years ago by philwo

I think this is a rather important ticket, as setting the hspace / vspace of images won't work, because they get overridden by CSS (for example, my CSS framework has

  • { margin: 0; padding: 0;

}

somewhere in the basic stylesheets, and thus I can't set a hspace / vspace using FCKeditor on my images ...

comment:5 Changed 15 years ago by mattalexx

I'm having trouble with this too. When is it planned to be implemented?

comment:6 Changed 11 years ago by Alfonso Martínez de Lizarrondo

Resolution: fixed
Status: confirmedclosed

This is the way that it works now in CKEditor

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy