On Sat, Jun 03, 2006 at 07:49:27AM EDT, Jonas Fonseca wrote:
> cga2000 <[EMAIL PROTECTED]> wrote Fri, Jun 02, 2006:
[..]
> 
> What you are toggling with '%' is this option:
> 
> document.colors.use_document_colors <num> (default: 2)
> 
>       Use colors specified in document:
>       0: is use always the default settings
>       1: is use document colors if available, except background
>       2: is use document colors, including background. This can mostly
>          look very impressive, but some sites will appear really ugly.
>          Note, that obviously if the background is not black, it will
>          break the behaviour of transparency.
>  
I need to read the doc again. Now I remember reading this and it makes
more sense now that I have used elinks on a regular basis. Not that the
above is unclear.. Just that I had too much on my plate and the penny
didn't drop..

> > In mozilla for instance I have access to a palette of ~70 colors that I
> > can use to colorize the different text components on a web page - such
> > as make unvisited links some shade of blue.. visited links some shade
> > of red etc.
> 
> You can change the color of active, unvisited, visited, and bookmarked
> links. Also to some limitations, you can color individual elements using
> a user-specific .css file.

.. and you can actually set hex #rrggbb colors..! I wonder how elinks
determines the closest xterm-256 match.  

I changed the "visited links" default - was yellow in my setup.. very
visible on a dark background but practically invisible on a light one.
> 
> > Elinks appears to  have a different philosophy. Apart from the "%"
> > that lets you switch between three pre-established color schemes I
> > didn't find anything in the menus that would let you change colors
> > on the fly - when text is not very legible for instance, such as a
> > light grey on a white background for instance..
> 
> I advice you to change the default document colors when using the
> 256-color mode. More specifically changing the Text color so that the
> default text and background color is both "black" will give you a much
> better default contrast.

.. was looking in the wrong place. :-(

I changed the defaults as you recommend - one was set to grey75 and now
I have changed it to black, it makes all the difference. Now very few
pages switch automatically from option 2 above (use document colors) to
the "reverse video" rendering with a dark background. Thanks much for
the tip..!

Why do some pages still switch to this rendering? Sometimes elinks
actually seems to hesitate .. briefly flashing a black background (I am
on an xterm with "-bg black") and eventually comes up with the "document
colors".. usually dark text & a light background.. and sometimes it does
not. 

Interestingly some sites are rendered with "islands" of dark-colored
text on a light background and the rest of the page is black. In my
case, the European Yahoo! sites are rendered correctly while the
American ones - US, Mexico, Brazil, Argentina.. have are not. 

No big deal anyway. Looking forward to being able to spend more time
tinkering with the program's customization and seriously reading the
doc.

I've switched 99% to elinks from mozilla and the occasional problem site
(javascript mostly..) is really nothing compared with everything I have
gained in the bargain.. Heck, I was spending more time waiting for
pages to render than actually browsing.

Great product..!

Thanks,

cga
_______________________________________________
elinks-users mailing list
elinks-users@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-users

Reply via email to