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?

Recommended Answers

All 2 Replies

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.

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.