[elinks-users] Italic color

Miciah Dashiel Butler Masters miciah at myrealbox.com
Wed Sep 14 17:25:54 PDT 2005


On Thu, Sep 15, 2005 at 02:38:57AM +0300, Alex'a X Spirit wrote:
> 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.
[...]

Try adding font-style: none to the rule. It is probably
using the given colour and then changing it again for the italic style.

-- 
Miciah Masters <miciah at myrealbox.com> / <mdm0304 at mail.ecu.edu>



More information about the elinks-users mailing list