View Single Post
Old 02-02-2011, 10:12 AM   #9
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 74,118
Karma: 315558334
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Oasis
I suggest putting the height="1.8em" into the .scenebreak CSS, removing it entirely from the .scn_img CSS, and adding a height:100% attribute to the img tag.

If you want to add space above and below the graphic, add some margin-top and margin-bottom to the .scenebreak CSS.

(The img tag height attribute only takes pixels or percent. Although the CSS height can take ems, I don't think it's specified what happens if you specify only height or width. But with the img height attribute, it's pretty much universal that the aspect ratio is maintained.)
pdurrant is offline   Reply With Quote