[thesite] Bio, User Pages, CSS

Michele Foster michele at wordpro.on.ca
Wed Nov 28 19:12:01 CST 2001


Jeff,

----- Original Message -----
From: ".jeff" <jeff at members.evolt.org>

|
| ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
| > 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).

I'm in favour of this approach .. and in fact wondered why it was done the
current way.  I'd really like to get Adrian's opinion on this.  I'm
wondering if there's a prob with NS4.x not inheriting properly, and that's
why the current approach was taken.


| ><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
| > 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?


Well, maybe I wasn't clear .. or we don't see the same issue.  We're working
on the signup/edit user account page now.. and you mentioned that any links
in the user's bio must include

 class="sidebar"

within the href tags.  So that they'll display correctly on the article view
page.  Cool, I'll add the text instructions for this.

Now my question is, displaying the user's bio on the user's page .. like we
discussed, then that part of the user's info on their user's page (link, not
edit) will need to be within the class="side" container?

Let me mock something up on teo .. it should be fine.


Mich







More information about the thesite mailing list