when adding images using FCKeditor the hs and vs padding around images do not get added to the HTML page in Hiroshige -- (in a story)

To test, I selected Garland, as alternate theme -- where the hs and vs is added in the HTML page.

Thanks in advance for the help... its a beautiful theme..

Comments

zzyz’s picture

A workaround was hiding in the theme's file reset.css

I removed (from reset.css) the reference to img from the code below so that it looks like this:

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del,
dfn, em, font, ins, kbd, q, s, samp, small, strike, strong, sub,
sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form,
label, legend, table, caption, tbody, tfoot, thead, tr, th, td {
    background: transparent;
    border: 0;
    font-size: 100%;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

and then because I don't know the reason for the reset, I put back all of the styling commands for img by adding the following code. ... note that I commented out the margin parameter - which was overriding the vspace and hspace settings I had set when inserting the image into a story:

img {
 background: transparent;
    border: 0;
    font-size: 100%;
 /* margin 0; */
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}

Is there a better way to accomplish this?

Thanks again for this beautiful theme. Much appreciated.