<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>
<div>Hi,</div>
<div>thanks for the tip:</div>
<div> </div>
<div>The validator found these points:</div>
<div> </div>
<div><span class="msg">Bad value 300px for attribute width on element img: Expected a digit but saw p instead.</span></div>
<div> </div>
<div>=> i changed it to width="300" but the IE does not scale.</div>
<div> </div>
<div><span class="msg">A meta element with an http-equiv attribute whose value is X-UA-Compatible must have a content attribute with the value IE=edge.</span></div>
<div> </div>
<div>=> i changed the corresponding template (jsp) to IE=edge and now it works!!</div>
<div> </div>
<div>Best regards</div>
<div>Arno</div>
<div> </div>
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 13. Januar 2015 um 12:20 Uhr<br/>
<b>Von:</b> "Christoph Kukulies" <kuku@physik.rwth-aachen.de><br/>
<b>An:</b> "The OpenCms mailing list" <opencms-dev@opencms.org><br/>
<b>Betreff:</b> Re: [opencms-dev] IE ignores "width" parameter</div>
<div name="quoted-content">
<div style="background-color: rgb(255,255,255);">
<div class="moz-cite-prefix">Did you validate the page using HTML and CSS validators on W3C?<br/>
I'm doing this usually in all cases before blaming the browser.<br/>
<br/>
Am 13.01.2015 um 12:09 schrieb Arno Nym:</div>
<blockquote>
<div style="font-family: Verdana;font-size: 12.0px;">
<div>Hi,</div>
<div>i use OpenCMS 8.5.1 and i have this code in a jsp-file:</div>
<div> </div>
<div>snippet:</div>
<div>...</div>
<div> <figure><br/>
<img src="<cms:link>${MyImage.value.File}</cms:link>" alt="${MyImage.value.Description}" width="300px" class="image-right"/><br/>
<fig-caption><br/>
<em><span ${MyImage.rdfa.Description}>${MyImage.value.Description}</span></em><br/>
<a href="<cms:link>${MyImage.value.File}</cms:link>" target="_blank" class="raquo"><fmt:message key="detail.myimages.download"/></a><br/>
</fig-caption><br/>
</figure></div>
<div>...<br/>
</div>
<div>With Firefox 34.0 the image is correctly scaled in 300x668px, but with internet explorer 11.0.9 the image is as big as the text-column (700x1559px) and the browser ignores the width.</div>
<div>the image-right class is defined in a css-file:</div>
<div> </div>
<div><<</div>
<div>.image-right{float:right;margin:0 20px 5px 0}.</div>
<div>>></div>
<div> </div>
<div>Anyone an idea?</div>
<div>Arno</div>
</div>
</blockquote>
<div class="moz-signature">--<br/>
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de</div>
_______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit <a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a></div>
</div>
</div>
</div>
</div></div></body></html>