[Javascript] InnerHTML and CSS Class
Glenn E. Lanier, II
glenn_lanier at netzero.net
Tue Mar 20 15:48:08 CDT 2007
> From: Nick Fitzsimons
> Sent: Tuesday, March 20, 2007 3:37 PM
> On 20 Mar 2007, at 20:13:57, Glenn E. Lanier, II wrote:
>
> > What I have seems to work, with the exception of the background
> > color/border
> > displaying when I apply the class to the div. Using Firefox/Web
> > Developer
> > Toolbar, I can change the size of the text and see it change
> > immediately, so
> > I know my CSS names are spelled correctly/applied to the item in
> > question.
>
> You're missing a semicolon after your background-color rule; this
> makes it invalid, and also invalidates the following rule, as
> the two
> rules are considered by the CSS parser to be one chunk of text which
> it can't make sense of :-)
<#insert head_banging_against_desk> Thanks for solving several hours of
grief, checking, etc. At one point, I saw the border/background, so I had to
have lost the semi-colon inadvertently.
I guess the method I'm using is valid then?
Thanks again for the quick look.
--G
More information about the Javascript
mailing list