You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Friday, February 14th 2003, 4:24pm

Konqueror: User-defined stylesheet

I've been trying to use the "User-defined stylesheet" in Konqueror with no luck. Mainly, some of the sites that I visit don't define both "color" and "background-color" in their style sheets. Normally they define one, but not both. My color scheme on my system is a black background and white text, so now and then I can't see what I'm entering in a INPUT or TEXTAREA input tag one these "broken" sites.

What I want to do is over-ride their style with my style. For example, on this site the style is ...

[code:1]
input { font-family: Verdana,Arial; font-size: 9pt; color: 000000; }
textarea { font-family: Verdana,Arial; font-size: 9pt; color: 000000; }
select { font-family: Verdana,Arial; font-size: 7pt; color: 000000; }
[/code:1]

So I've created a "mystyle.css" file in my home directory with the following styles ....

[code:1]
input { font-family: Verdana,Arial; font-size: 9pt; background-color: #000000; color: #FFFFFF; }
textarea { font-family: Verdana,Arial; font-size: 9pt; background-color: #000000; color: #FFFFFF; }
select { font-family: Verdana,Arial; font-size: 7pt; background-color: #000000; color: #FFFFFF; }
[/code:1]

I then select "User-defined stylesheet" in Konqueror's configure menu and select my stylesheet. However it doesn't work. I still get a black text in a black INPUT tag.

Does it matter if the page's style sheets are inline or externally linked? The site above uses inline.

Any thoughts?
spoon