[thesite] Additions to default CSS file

.jeff jeff at members.evolt.org
Mon Nov 12 01:18:34 CST 2001


aardvark,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: aardvark
>
> > not having it should be considered an oversight then.
> > to be semantically correct, we should be defining the
> > :active pseudo class for all links.
>
> right now we've got:
> a:link
> a:visited
> a:hover
>
> so, change the :hover to :active, but don't add it...
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

huh?  i think that's even worse.  out of the four pseudo classes, :active is
by far the least used.  however, in the interest of user controlled
stylesheets in the future, don't you think it has a place?

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> > *but* there is nothing styling the <a> tag, which is
> > what i'm saying is the problem.  we just need to
> > throw a class of pagetitle2 on the <a> tag in that
> > cell and put the corresponding css in the stylesheet.
>
> *why*?  i don't see why we need to do that, it hasn't
> been necessary for a year now, no one seems to have
> problems with it as-is...
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

agreed.  and so long as we're the only ones providing the stylesheets for
the site it will likely not be an issue.  however, if we allow users to
create their own *then* it will become a problem.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> i guess i need to know why the <a> needs a class...  so
> far, i haven't heard anything, unless i've missed it in
> the early part of the thread...
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

yes, i think you must have missed it because i had a very succinct argument
for it complete with an example.

go to http://test.evolt.org/
login
go to http://test.evolt.org/member/index.html?action=signup2 and select
evoltoldschool.css as your stylesheet
click save styles
go to http://test.evolt.org/article/view/17/16286/
notice the category (below the date) is invisible?

now, while still at this page, imagine if the cell to the right which
contains the article title and author link was this same blue?  the author
link would be invisible as well.  classing (and styling) these links
separately from the rest of the links in the main content area allow us to
resolve this problem now and in the future.

make sense?

thanks,

.jeff

http://evolt.org/
jeff at members.evolt.org
http://members.evolt.org/jeff/






More information about the thesite mailing list