Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

problems with JEditorPane and CSS

843805Oct 20 2005 — edited Aug 31 2007
Dear friends,

I can�t figure out why the bellow HTML render OK in te browser and doesn�t work on JEditorPane... any tip ? I tought it could be due to URL problems....

index.html:
<html>
<head>
	<meta HTTP-EQUIV='content-type' CONTENT='text/html; charset=UTF-8'/>
	<title>Formul�rio �nico de Proposta</title>
	<link rel="stylesheet" type="text/css" href="fup.css">
</head>
<body lang='PT-BR'>
	<div>
		<h2>Formul�rio �nico de Proposta - FUP 2005</h2>
	</div>
</body>
</html>
fup.css:
h1 {color: #00ff00}
h2 {color: #9999dd}
p {color: rgb(0,0,255)}
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 28 2007
Added on Oct 20 2005
6 comments
127 views