В JEditorPane с содержанием html:
...
<img src="x.jpg" width="100" border="0" />
...
(например, изображение (500x700))
Firefox или Chrome или любые другие браузеры просматривают это изображение как 100x140 на странице
(140 = 700 / (500/100))
, но JEditorPane показывает его как 100x20 (я думаю, 20 по умолчанию).Это ошибка?
Что я могу сделать, я не могу изменить источники HTML, потому что он на компакт-диске.
заранее спасибо
Furkan
Изменить: Ссылка HTML-файл содержимого:
<html msxsl="urn:schemas-microsoft-com:xslt" user="http://www.etiam.com/namespace" xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="generator" content="HTML Tidy for Windows (vers 12 April 2005), see www.w3.org">
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<title></title>
</head>
<body vlink="#ffff00" style="background-color: rgb(0, 0, 0)" alink="#ffff00" link="#ffff00">
<h1>
<u>PAT 143</u>
</h1>
<h2>
ID : 100043
</h2>
<h2>
Birthdate : 2001/01/01
</h2>
<br>
<ul>
<li>
Study date: 2005/01/01 00:00<br><br>
</li>
<li style="list-style-position: outside; list-style-type: none; list-style-image: none">
<table border="0" width="90%" align="center">
<tr>
<td align="center">
<a href="aa1.htm"><img src="0.jpg" border="0" width="128">
</a>
</td>
<td align="center">
<a href="aa2.htm"><img src="3.jpg" border="0" width="128">
</a>
</td>
<td align="center">
<a href="aa3.htm"><img src="5.jpg" border="0" width="128">
</a>
</td>
</tr>
</table>
<p align="center">
click an image to select a series
</p>
</li>
</ul>
<br>
<br>
<br>
<p align="center">
<a href="/index.htm"><img src="retacc.gif" border="0">
</a> </p>
</body>
</html>