View Single Post
Old 03-24-2008, 08:33 PM   #9
nrapallo
GuteBook/Mobi2IMP Creator
nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.nrapallo ought to be getting tired of karma fortunes by now.
 
nrapallo's Avatar
 
Posts: 2,958
Karma: 2530691
Join Date: Dec 2007
Location: Toronto, Canada
Device: REB1200 EBW1150 Device: T1 NSTG iLiad_v2 NC Device: Asus_TF Next1 WPDN
BUG css code improperly supported

Quote:
Originally Posted by zelda_pinwheel View Post
BUG : you cannot specify a margin (or padding) for the "img" tag, either in the css in the head of the document, or inside the individual img tags.

WORKAROUND : add the code using the "style" tag to the container (p or div tag), for example :
<p style="margin-left:2em; margin-right:2em"><img border="0" hspace="0" src="img1.jpg" /></p>

The obvious disadvantage being that you must treat each image individually, rather than just adding one line of css code to the head of your document.
Likewise, for <p> the margin-bottom is simply ignored. The margin-top needs something to "push-off' like a <div>&zwnj;</div>. This bug has been around for a long time and is discussed in the Stylesheets chapter of the 'REBTestDocSrc.imp' posted here.
nrapallo is offline   Reply With Quote