You are here: Re: Help with user style sheet for Firefox « HTML « IT news, forums, messages
Re: Help with user style sheet for Firefox

Posted by Neredbojias on 01/01/07 03:44

To further the education of mankind, Bob <bob@bob.org> vouchsafed:

> Neredbojias wrote:
>> To further the education of mankind, Bob <bob@bob.org> vouchsafed:
>>
>>> ... I do this because my aging CRT monitor
>>> hurts my eyes unless I hack down the black-white contrast on the
>>> monitor. Will work until I can afford a new monitor.
>>
>> Not that you haven't thought of this, but doesn't your monitor have
>> contrast/brightness adjustment?
>
> Not sure if you know this, but CRT monitors, when they get old, they
get
> really hard to view. They hurt your eyes. One of the things that goes
is
> the contrast. CRT monitors work via some kind of jets that shoot
> something at the screen. After years, this jet substance starts to gum
> up the screen in some way.
>
> To answer you, I have been monkeying with contrast/brightness/gamma and
> everything else on the monitor, video card, you name it, for months on
> end now, and I have not been able to fix this problem no matter where I
> set it to. The guys on the Linux group said the monitor is shot.

I've got a 10+ yr old NEC crt that's surely dimmed a bit but doesn't seem
to have the problem yours does. Anyway, I'm not contesting your
conclusion but will add that they sell screen filters for over-contrasty
monitors as well.

>>> I am looking at a webpage that is using inline styles, to whit:
>>>
>>> <span style="color: black;">
>>>
>>> How do I change the style sheet to change these text strings to grey?
>>> Will this do it?
>>>
>>> span style {
>>> color: #787878 !important;
>>> }
>>
>> Yes. ...I think.
>
> I have it set to this now:
>
> span[style] {
> color: #787878 !important;
> }
>
> And it seems to be working.

Why not just:

span { color:#787878 !important; }

??

Also, this was probably already discussed, but you could:

body,span {
background:#383838 !important;
color:#787878 !important;
}

to cover more ground efficiently and have a validatable style sheet.
(PS: some use "html","html*", and other constructs as well but not all
that fancy stuff works in all browsers.)

--
Neredbojias
Infinity has its limits.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация