WOW thanks- I spent all morning on css! (But learned a few things too!)


-----Original Message-----
From: Scott Povlot [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 16, 2007 10:46 AM
To: [EMAIL PROTECTED]; [email protected]
Subject: Re: [css-d] multiple style sheet errors

Copeland,

This is not a CSS problem.  Your problem is related to
the Javascript that disables the stylesheets.

In Firebug, I see the following error:

document.styleSheets is not a function
[Break on this error] document.styleSheets(1).disabled
= false;

Basically, styleSheets is an array and needs to be
referenced using square brackets [ ] instead of
parentheses.

Regards,

Scott Povlot

--- Copeland <[EMAIL PROTECTED]> wrote:

> I have javascript that says to go to the first
> stylesheet unless the user
> wants larger text at which point they go to another
> linked stylesheet that
> is otherwise disabled.
> 
> BUT when I link those two stylesheets next to each
> other the main content
> area goes -boom- all the way down the page. 
> 
> These 2 stylesheets are named differently but I also
> tried it with the same
> stylesheet, just listing it twice (so nothing should
> change) and it did the
> same thing!
> 
> Anyone have any ideas???
> 
> You can see it at 
> HYPERLINK
> "http://www.messiahvillage.org/indexnew.htm";


 
____________________________________________________________________________
________
Shape Yahoo! in your own image.  Join our Network Research Panel today!
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 


No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.11.19/956 - Release Date: 8/16/2007
9:48 AM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.476 / Virus Database: 269.11.19/956 - Release Date: 8/16/2007
9:48 AM
 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to