I seem to have stirred a hornet's nest by starting this thread! My
apologies to the hard-working developers for putting you through this!
In article <7ea8523b50.david(a)david.wanadoo.fr>,
David J Worden <aux.auges(a)free.fr> wrote:
> In a two-language website for a friend I have used the colour red
on
> English pages and blue on French pages (in headings, etc., at her
> request), and so I have specified the link colour as green rather than
> the default blue.
I hope I'm not teaching you to suck eggs...
No, you're not. I did start to look into CSS at one point(*), but my
personal 'style' of website programming meant that I would pretty much
have to re-write all my existing sites from scratch, and I tend to use
an old site as a starting point for new ones, so I got so far and then
stopped!
(*) As I am retired there is no pressure on me these days to
keep up with later developments. If what I already know is
not sufficient to satisfy someone for whom I am preparing a
website then I will look into what else may be needed. In
this case, as I said earlier, the person concerned knows
nothing of RISC OS or NetSurf and it is unlikely that any of
her clients will either. And even if they do, the site will
still work for them, albeit not quite as I had intended.
...but the problem of ignored link body tags (discussion of which
may
need to be preceded by a strict definition of the subjective term "not
difficult" ;) can be easily overcome _if_ you have control of the web
site.
Which I do in the case in question.
To control main document colours with CSS use:
body {
background-color: #000000;
color: #ffffff;
}
a:visited { color: #ffffcc }
a:link { color: #ccffcc }
a:hover { color: #ffcccc }
Maybe I'll look into this again, but spring and summer are approaching
fast now and I will want to be spending more time outdoors in the
southern French sun, not huddled over my computer! ;-)
"My" sites were driving me mad so NetSurf did me the favour
of forcing
me to 'upgrade' to CSS because of this seemingly bizarre omission from
its fundamental repertoire. (It's as if, like, they thought "nobody
uses body tags" because they're deprecated, ain't they? But not when
those pages were written, they wasn't? A shame so it is that the term
deprecated seems misunderstood so widely? Innit?)
With apologies to Armstrong and Miller.
Given the bit-by-bit circumstances under which NetSurf is being
developed (as described elsewhere in this issue [v23,i15] of the
Digest) I think the developers between them have done and are doing a
remarkable job.
Whatever its shortcomings may be, I have graduated via Fresco, Oregano
and Oregano2 to NetSurf and I now use it exclusively under RISC OS
(other than when checking that my websites work satisfactorily with
the other browsers).
David
--
David J Worden