You are here: Re: Applet printing « HTML « IT news, forums, messages
Re: Applet printing

Posted by dorayme on 11/02/07 17:03

In article <472b0f4f$0$25500$ba620dc5@text.nova.planet.nl>,
JWS <jws@my.home> wrote:

> dorayme wrote:
>
> > Just a little thing, you should reconsider your
> >
> > line-height: 120%;
> >
> > Best to leave it out completely, or consider using a ratio:
> >
> > line-height: 1.2; if you must have it in.
>
> I thought I had that fixed already by specifying some other
> line-height for h1, but apparently I hadn't. Thanks for pointing
> it out.
>
> Anyway I now followed your suggestion of changing 120% to 1.2
> (without doing anything special with h1). To my amazement this
> made a difference; the line spacing inside the h1 (if it is longer
> than one line) is now correct. It doesn't change anything in the
> rest of the page. I thought (from the CSS specs) that 1.2 and 120%
> were just the same.
>

Also try the other thing I suggested and leave it out altogether
(which is more elegant in that less is more, but I do not know if
you have some special need for this figure, eg. in your applet?).
As I understand it, the defaults for most browsers is about 1.2
so no real need in general to put this in. For your purposes
perhaps no one will care about typographical subtleties when you
are discussing the very interesting subject of material bodies
slamming into other bodies? <g>


> > Perhaps you will need more expert help with Java about why the
> > radio buttons are too crowded together making the text disappear
> > as in the 6 in the 16 and the 0 in the 50 for choice of Nmasses.
>
> This does not happen in any of the computers (Windows and Linux
> only) or browsers that I tested it with. The distances between the
> buttons are (must be in this case) fixed in pixels, so it seems
> that your system has a bigger default font size than the systems I
> used. No particular font was specified; I assumed (apparently
> wrongly) that the java default font is always the same. BTW Are
> the texts "Nmasses" and "Spring display" also too big? I mean, do
> they run into the buttons on the right? They are "text" fonts
> which may be different from "UI" fonts.
>

I am on a Mac and the view is rather the same in both Safari and
Firefox (to take a couple of excellent browsers), perhaps this
shot of the relevant bit will help you:


http://netweaver.com.au/test/pics/jan_applet.png

Just a thought for you: since your applet is not user sizable,
err on the side of caution and have bigger fonts in it, better to
do this than make them hard to read for some people.

An applet like this looks quite suited to your modelling aims and
well done for giving it a go!

--
dorayme

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация