Adding Float to images instead of Align from InsertImage.aspx

Last post 07-02-2010, 2:29 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  07-01-2010, 1:21 PM 62192

    Adding Float to images instead of Align from InsertImage.aspx

    I'm switching our content management tool to CuteEditor because it's much better than out last one.  However, both tools use the align="" when placing images and I'd like for CE to use CSS's float right or float left
     
    We have over 7000 pages in our database and many have images coded with align="left" (or right) and I'd rather not have to recode them all. :)
     
    I see from another post that I can right-click an image, choose "Verbs", then "Float" to get it to float. But that's a lot of extra steps for some of my users. ;)
     
    So I guess I have two questions:
     
    1. I'd like to know if anyone knows a way for me to override the align="" (to use float instead) in my CSS
    2. Is it possible to somehow have the float attribute applied in CuteEditor when placing the image using /Dialogs/InsertImage.aspx rather than align attribute? Seems like a lot of steps to place it and then go back to set the float.
    Thanks!
     
     
    Filed under: ,
  •  07-02-2010, 2:29 AM 62224 in reply to 62192

    Re: Adding Float to images instead of Align from InsertImage.aspx

    >> 2. Is it possible to somehow have the float attribute applied in CuteEditor when placing the image using /Dialogs/InsertImage.aspx rather than align attribute? Seems like a lot of steps to place it and then go back to set the float.
     
    Yes, it's possible.  You must own the source code license then modify a few javascript files.
     
    >> 1. I'd like to know if anyone knows a way for me to override the align="" (to use float instead) in my CSS
     
    It's possible if you can write a html filter.
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML