Wed Sep 14 2005 19:11:19 +0200, Jonas Fonseca wrote:
[...]
> > how can I
> > change the default color value for text marked in html by <i> tag?
>
> You should set the CSS option for the default stylesheet to point at
> your user.css. You should have this in ~/.elinks/elinks.conf
>
> set document.css.stylesheet = "user.css"
OK
> Then put something like:
>
> i { text: red; }
Did you mean `i { color: red; }'?
> in the ~/.elinks/user.css file. Then restart ELinks.
With `document.colors.use_document_colors = 0' such style for <i> tag
is ignored :((
With `document.colors.use_document_colors = 1' (or = 2) the color
changes, but in very interesting ways.
1. If we have in user.css:
i { color: blue; }
The real visible color == magenta.
2. If we have
i { color: magenta; }
The real visible color == lightblue.
3. If we have
i { color: white; }
The real visible color == lightcyan.
4. If we have
i { color: brown; }
The real visible color == green. And so on.
All this miracles are in 16-colors mode on cons25r terminal.
My html-test file:
<html>
<body>
normal text
<b>bold</b> text
<i>italic</i> text
</body>
</html>
--
Alex'a X Spirit
_______________________________________________
elinks-users mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-users