Lee Daniel Crocker wrote:
Exactly. If that shows me some tricks that would
useful, then I can
code them up.
Well if I were to design a skin from scratch, you'd code the entire
thing into PHP from my HTML?
egad!
I figured using templates would shunt part of the work onto the page
designer's lap, that's all.
Those
sound useful; if you can integrate that into the existing
stylesheets, so much the better.
From what I can tell from Skin.php, the current system shoves a
"bgcolor" => "#FFFFDD" into the HTML's BODY tag
Change that to shove a class= ... as in my notes:
"class" => "article" and "class" => "meta"
presumably
That (or something like it) is probably a good idea. I'm only a
bit concerned that I want to have styles that apply to the body
text of articles regardless of namespace, but I suppose I can
use the DIVs for that.
??
The css has 3 blocks:
body {
/* these style rules apply to all articles */
}
body.article {
/* just sets the white colour for articles */
}
body.meta {
/* just sets the yellow colour for meta-pages*/
}
This is why it's called *cascading* stylesheets. :-D
I think we have a communication problem! You speak PHP, I don't. I speak
CSS, and I'm not sure you do.