Skip to main content

RE: [JAVAHELP] JEditorPane CSS capabilities?

No replies
Anonymous

There are no attachments allowed via the list. Could you please sent it
to me directly?

Israel Dalven
Documentation
CellGlide Ltd.
israeld@cellglide.com
tel. 09 8858580
cel. 055 290587

CellGlide is the leading provider of Telco-grade mobile traffic shaping
solutions that enable operators to deliver predictable, reliable, and
billable data services over mobile data networks. Using the CellGlide
GPRS Mobile Traffic Shaper, operators reap immediate ROI benefits by
employing service differentiation, mobile SLAs, rich media streaming,
and other 3G-like services using available 2.5 network infrastructure.

-----Original Message-----
From: Paul Fussell [mailto:Paul.Fussell@SUN.COM]
Sent: Wednesday, 18 February, 2004 23:53
To: JAVAHELP-INTEREST@JAVA.SUN.COM
Subject: Re: [JAVAHELP] JEditorPane CSS capabilities?

Attached is a simple CSS file that produces a fairly pleasing look in
the JavaHelp viewer without using class declarations. You can tweak it
all you like to make things look the way you want them to. I think it's
better to have your own CSS file than rely on the JavaHelp viewer's
built-in styles for the HTML tags. This style sheet doesn't define h5
and h6, but you could add your own definitions. You could also add a
class, for example, for paragraphs inside table cells. (I usually don't
define s inside table cells, either, but, like Jim, use if
necessary to separate lines.)

--Paul

At 01:20 PM 2/18/2004, javahelp1@JAVADESKTOP.ORG wrote:
>Michael,
>
>I'm currently creating a css for a JavaHelp project and I've found the
>following:
>
>For the text immediately before a table, I have to add a spacer image
>and set the height to 10 pixels, so that the JavaHelp 2.0 viewer
>correctly displays a line space between the paragraph and the table.
>
>For the text immediately following an H1, H2, H3, or H4 heading (h5 and

>h6 too), I created a special class that applies a top margin of -10
>pixels. Otherwise, I see too much space between the heading and the
>text
>
>For bullets, I use the bluelistbull.gif. I got it from Paul Fussel at
>Sun.
>
>In tables with multiple paragraphs, I found that I can only use "soft"
>returns between paragraphs. Otherwise, the JavaHelp 2.0 viewer appears

>to insert an extra linespace between the top of the table and the first

>paragraph.
>
>Hope this helps.
>
>Jim Reinhard
>
>***********************************************************************
>*********
>
>You may leave the list at any time by sending message with no subject
>and "SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM.
>Archives are available at
>http://archives.java.sun.com/archives/javahelp-interest.html.
>Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

************************************************************************
********

You may leave the list at any time by sending message with no subject
and "SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM.
Archives are available at
http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.

********************************************************************************

You may leave the list at any time by sending message with no subject and
"SIGNOFF JAVAHELP-INTEREST" in the body to LISTSERV@JAVA.SUN.COM. Archives
are available at http://archives.java.sun.com/archives/javahelp-interest.html.
Submit bug reports at http://java.sun.com/cgi-bin/bugreport.cgi.