[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#11509: Cascading Style Sheets
From:       Kurt Granroth <granroth () suse ! com>
Date:       2000-09-22 19:34:52
[Download RAW message or body]

Victor_Roeder@GMX.de wrote:
> Package: khtml
> Version: 3.0 (KDE 1.94 >= 20000911)
> Severity: normal
> 
> I think that there's a a little bug in your KHTML-KPart. I try my
> best to make you understand :-): When I take a look on our homepage
> (www.ksourcerer.org) the Konqueror does not show the links at the
> top of the homepage in the definied way. Here a part of the
> CSS-file:
> 
> /* link styles for header */
> a.header:link { color:#AA5522; text-decoration:none; }
> a.header:visited { color:#772200; text-decoration:none; }
> a.header:active { color:#000000; text-decoration:underline; }
> 
> /* link styles */
> a.link { color:#31639C; text-decoration:underline; }
> a.visited { color:#173789; text-decoration:underline; }
> a.active { color:#000000; text-decoration:none; }

You are right that individual attributes for a particular class don't
work.  This *may* be known already...

But you do have some incorrect CSS code there, too.  'a.link' (and the
like) is wrong.  It should be 'a:link'
-- 
Kurt Granroth            | http://www.granroth.org
KDE Developer/Evangelist | SuSE Labs Open Source Developer
granroth@kde.org         | granroth@suse.com
           KDE -- Putting a Friendly Face on Unix

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic