Re: display: inline-block

  •  11-11-2005, 3:19 AM

    Re: display: inline-block

    Hi Adam:
     
    Apologies if I was a little vague...
     
    I've set the EditorWysiwygModeCss property to a stylesheet I've created for the editor to use.  In this stylesheet I've set the following property:

    ol,ul
    {
        display: inline-block;
        margin: 0px;
    }

    This lets me control where the line-spacings after the lists (ie, the editor handles more like Word if there are no automatic line breaks after the list). 
     
    The above CSS works in Firefox, however in IE I get the cursor change and hashed border as though I'm hovering over a image in the editor.
     
    So, I just wondered if the images in the editor were treated as having a css display of inline-block meaning that anything else I set to have a display of inline-block will be treated as an image?
    Does that clear things up? 
     
    Thanks
     
    Simon
View Complete Thread