My code:
<div id="Richtextcontent"><br>
<img src="/2-Bergkamw/FIN/Comp-reg.nsf/30ceb851136ec96cc12571e70032dff9/7d6c71e6ee0d6b22c1256e4b004c356f/Signature/15.2702?OpenElement&FieldElemFormat=gif" width="784" height="142" alt=""><br>
</div>
This code is generated bij a webservice (IBM Lotus Domino webserver)The image cannot be modified in the database but need to be resized to max. 700 px.
With a stylesheet in Firefox it is no problem.
This works with Firefox;
#Richtextcontent img{
max-width: 700px;
}
However not with IE. How can I modify the width="784" parameter with javascript after loading the HTML-page.
I now you can substitute statements with javascript.
Thanks
W.
<div id="Richtextcontent"><br>
<img src="/2-Bergkamw/FIN/Comp-reg.nsf/30ceb851136ec96cc12571e70032dff9/7d6c71e6ee0d6b22c1256e4b004c356f/Signature/15.2702?OpenElement&FieldElemFormat=gif" width="784" height="142" alt=""><br>
</div>
This code is generated bij a webservice (IBM Lotus Domino webserver)The image cannot be modified in the database but need to be resized to max. 700 px.
With a stylesheet in Firefox it is no problem.
This works with Firefox;
#Richtextcontent img{
max-width: 700px;
}
However not with IE. How can I modify the width="784" parameter with javascript after loading the HTML-page.
I now you can substitute statements with javascript.
Thanks
W.