Opened 18 years ago
Closed 12 years ago
#589 closed New Feature (fixed)
Using STYLE attribute when formatting IMG tag
Reported by: | 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 18 years ago by
Reporter: | changed from Martin Kou to cristea@… |
---|
comment:2 Changed 18 years ago by
Type: | Bug → New Feature |
---|
comment:3 Changed 17 years ago by
Keywords: | Confirmed added |
---|
comment:4 Changed 17 years ago by
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 16 years ago by
I'm having trouble with this too. When is it planned to be implemented?
comment:6 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
This is the way that it works now in CKEditor
It would be a good idea to enhance the image option by adding an option to choose whether to use CSS on or not.