[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [edict-jmdict] Fiddling with WWWJDIC (Was: Re: In-line examples in WWWJDIC)



2008/5/7 Jeroen Hoek <mail@jeroenhoek.nl>:
> Jim Breen wrote:
>  > Can you try it again? ....

>  Better, although I'd drop the font-size another notch to the level of
>  the examples.

I have it down to 0.9em now. I don't know what you are seeing for the
examples as it's
based on the font size you have chosen
(Preferences/Fonts/Advanced/...) All I have done
is wrap a <font size="-1"> ... </font> around the example text.

> "Copyright" and "Donations" are right next to each other,
>  visually separated only by the white bar.

Browsers are doing funny things. When they fold a line, they put in
padding, but they don't
when it's not folded. I have put in 2 pixels of padding which looks a
little better.

>  The table does force a horizontal scroll-bar for 800*600 and smaller
>  now, which might be an issue for portables and such.

It will do that when it can't fold text any further. I guess it can be
lived with.

>  > I wanted to get something more like the front page into that menu list -
>  > make it more like a menu bar.

>  This?
>
>  http://jeroenhoek.nl/test/menutest.html

Very nice.

>  The idea is that the menu items take up whatever horizontal space there
>  is, and only use another line if necessary. It should be all on one line
>  for high resolutions, and the even on 800*600 the menu doesn't cause a
>  horizontal scroll-bar.

OTOH being a <ul> list rather than a <table> you miss out on the folding, which
make it rather more compact. Certainly an option to think about.

I'm very much a neophyte when it comes to CSS. I'm resisting the temptation
to go too far into it, but bits are obviously very useful.

>  On a side note, the increased size of the headwords is great, it makes
>  the kanji much more legible and pleasant to look at, at least under
>  Ubuntu with Firefox.

I like it, but not everyone does. It's on my list of options of things
which can be disabled.

Cheers

Jim
-- 
Jim Breen
Honorary Senior Research Fellow
Clayton School of Information Technology,
Monash University, VIC 3800, Australia
http://www.csse.monash.edu.au/~jwb/