User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 391,161 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,333 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 2077 | Replies: 2
Reply
Join Date: Nov 2007
Posts: 2
Reputation: lpaino@rolands is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
lpaino@rolands lpaino@rolands is offline Offline
Newbie Poster

Troubleshooting Style is Null or not an Object

  #1  
Nov 13th, 2007
I am using Dreamweaver Tabbed Spry Panels
I get an error message on the pages in IE "style is null or not an object"

Does anyone know why this happens and how to fix the problem?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 2,510
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 103
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Style is Null or not an Object

  #2  
Nov 15th, 2007
Could we see the line it reported the error in?

Possibilities:

- You misspelled a style, class, or id at some point, so the stylesheet name doesn't match the name in the webpage code..

- You used a word for an IE built-in nonstandard style in another context.

- If you are using a strict doctype, you used a style attribute alone (e.g. 'checked') where it needs a value (e.g. 'checked=checked'). Lone attributes are not allowed in strict doctypes.

- You used " in a context where it needs to be " instead, causing the opening and closing of quotes to be out of sync.

- You put < in a style or a script.
Daylight-saving time uses more gasoline
Reply With Quote  
Join Date: Nov 2007
Posts: 2
Reputation: lpaino@rolands is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
lpaino@rolands lpaino@rolands is offline Offline
Newbie Poster

Re: Style is Null or not an Object

  #3  
Nov 15th, 2007
Found out the problem.

I had the call to the script in the head and below the content invoking the script. Once I removed the script in the head the problem was resolved.

Thanks
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb JavaScript / DHTML / AJAX Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 7:26 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC