[thesite] Bio, User Pages, CSS

.jeff jeff at members.evolt.org
Wed Nov 28 18:42:29 CST 2001


michele,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Michele Foster
>
> Can the class=xx required for the links in an author's
> bio be done programmatically?
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

you mean alter any links via coldfusion?  if i was a master of regular
expressions perhaps, but alas, i'm not.  there might be another solution.
that solution might be to change the way the links in .side classed elements
gets their styles applied.  instead of:

a.sidebar:link { blah; }

we'd do something like:

.side a:link { blah; }

this would mean that all links that fall inside of an element with a class
of .side would get that styling.  it would also mean we could remove
class="sidebar" from all the links currently using it (thereby reducing the
size of each page we send down the pipe to the user).

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> Specifically, if we require that class=sidebar be
> applied to all links within the author's bio, then
> that means the user page must also use the sidebar
> class (colour scheme).
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

no, it doesn't mean that (at least not how i see it).  the only reason they
have to have a class="sidebar" is because they appear within a container
with a class="side"

maybe i'm missing what you're trying to say.  could you explain alittle
differently if i am?

thanks,

.jeff

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






More information about the thesite mailing list