James Stauffer
-----Original Message-----
From: Roger Lacroix [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 9:40 AM
To: jdjlist
Subject: [jdjlist] Re: JEditorPane, CSS, HTML problem
Hi,From: Roger Lacroix [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 9:40 AM
To: jdjlist
Subject: [jdjlist] Re: JEditorPane, CSS, HTML problem
I'm using v1.4.1_03 of the JVM. What bug parade / web site are you referring to?
Thanks
Roger...
At 06:20 AM 6/18/2003, you wrote:
A couple things:---
1) What version of the JVM are you using?
2) It is known that the HTML renderer included in the JVM does have some bugs. It is possible that this is one of them. So, have you checked Bug Parade?
Paul Franz
---
- ----- Original Message -----
- From: Roger Lacroix
- To: jdjlist
- Sent: Tuesday, June 17, 2003 5:39 PM
- Subject: [jdjlist] JEditorPane, CSS, HTML problem
- Hi,
- I am using setEditorKit(new HTMLEditorKit()) with a JEditorPane to render / display a HTML file. The HTML has a stylesheet with it.
- The HTML file has a table in it. When I try to use the CSS values of
- TABLE.black-border { border-width:1px;
- border-color:black;
- border-collapse: collapse;
- }
- tr.bb-test { border-width:1px;
- border-color:black;
- border-style:solid;
- border-collapse: collapse;
- }
- td.bb-medium { border-collapse: collapse;
- border-width:1px;
- border-color:black;
- }
- <TABLE class=black-border WIDTH=100%>
- <TR>
- <TD class=bb-medium WIDTH=10%>TEST</TD>
- <TD class=bb-medium WIDTH=25%>TEST Number</TD>
- <TD class=bb-medium WIDTH=55%>POLICY Range</TD>
- <TD class=bb-medium WIDTH=10%>DEST DATE</TD>
- </TR>
- <TR class=bb-test>
- <TD class=bb-medium COLSPAN=4>item 1</TD>
- </TR>
- <TR class=bb-test>
- <TD class=bb-medium COLSPAN=4>item 2</TD>
- </TR>
- </TABLE>
- No matter what I set the border-width to (1, 10, 100), it always comes out as a thick border (same size) in the JEditorPane. But in a web browser, 1, 10 or 100px border looks correct.
- When I try to set the individual borders (i.e. border-top-width ), the JEditorPane shows no border at all (as if it is invalid keyword).
- Does anybody know what the problem is? Any help would be appreciated.
- Thanks
- Roger... ---
- You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
- To unsubscribe send a blank email to [EMAIL PROTECTED]
- http://www.sys-con.com/fusetalk
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk ---
You are currently subscribed to jdjlist as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
http://www.sys-con.com/fusetalk
