On Wed, 2006-08-16 at 20:51 -0400, David Krings wrote:
> p.centertitle {
> font-family: times;
> font-size: medium;
> font-style: normal;
> font-weight:normal;
> font-variant: normal;
> text-align: center;
> text-decoration: none;
> text-transform: none;
> }
AIEEEEEE!
Try this:
p.centertitle {
font: normal times, serif;
text-align: center;
text-decoration: none;
}
The rest will remain at their defaults. You can use css shorthand (and
you should, it has a bandwidth and client-side benefit as well). No need
to re-declare things which will fall back to those values if omitted
anyway.
> So, all of you wise men and women, can someone explain to me in
> simple terms why the SPAN stuff fails and what this SPAN stuff is
> about anyhow (yea, I read too many of Bob Pease's columns).
Well, for starters, you didn't style any span tags, regardless of them
declaring the class centertitle. If you wanted ALL centertitle tags
styled, regardless of parent, you should use something like this:
.centertitle {
foo: bar;
baz: quux;
}
But you've limited it to only those centertitle classes which are
declared inside paragraph tags.
Try making them global, or use span.centertitle {...} if you want those
styled differently.
--
David A. Desrosiers
desrod gnu-designs com
http://gnu-designs.com
"Erosion of civil liberties... is a threat to national security."
More information about the ECLUG mailing list