Re: Font-size in editor iframe

  •  12-21-2006, 4:24 AM

    Re: Font-size in editor iframe

     
    Hi,
     
    Sorry for the long delay of my reaction, I've been away for a couple of days. 
     
    The 0.7em in the html tag specifies that the default font-size on my site depends on the font-size that the user has selected in his browser. Normally, that will indeed result in 0.7 * the medium font size, but when a user for instance selects 'larger', it will be 0.7 * that larger font-size. In this way, all text is resized according to the user's preference (including in IE6, in which specifying '11.2px' for the font-size would not allow resizing by the user). It is not possible for me to include the 0.7em in an other element than the html tag, because other items can be nested, resulting in smaller and smaller fonts (0.7 * 0.7 etc).
     
    What I noticed is that all elements of my stylesheet are used/applied in the editor (in the iframe document), except the style for the html tag, resulting in too large fonts in the editor. When I browse the dom for the iframe element, indeed I can see all styles, except the styles specified for the html tag. So in some way, the editor uses the whole stylesheet, except the specs for the html tag.
     
    I hope you have a solution for my problem?
    Thank you very much in advance!
     
    Kind regards,
    Jeroen
View Complete Thread