trouble with IE css

J

Jonathan N. Little

justhope said:
yes... tried to understand line number 41 and in my page there is no
coding on line 41.

Did you read the message?

# Error Line 41, Column 119: there is no attribute "language".

… collection code --><script language="JavaScript"
src="http://us.js2.yimg.com


You have used the attribute named above in your document, but the
document type you are using does not support that attribute for this
element. This error is often caused by incorrect use of the "Strict"
document type with a document that uses frames (e.g. you must use the
"Transitional" document type to get the "target" attribute), or by using
vendor proprietary extensions such as "marginheight" (this is usually
fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the
document type you are using, as an undefined element will have no
supported attributes; in this case, see the element-undefined error
message for further information.

How to fix: check the spelling and case of the element and attribute,
(Remember XHTML is all lower-case) and/or check that they are both
allowed in the chosen document type, and/or use CSS instead of this
attribute. If you received this error when using the <embed> element to
incorporate flash media in a Web page, see the FAQ item on valid flash.


Now look up the SCRIPT element:

<!ELEMENT SCRIPT - - %Script; -- script statements -->
<!ATTLIST SCRIPT
charset %Charset; #IMPLIED -- char encoding of linked resource --
type %ContentType; #REQUIRED -- content type of script language --
src %URI; #IMPLIED -- URI for an external script --
defer (defer) #IMPLIED -- UA may defer execution of script --

Don't see a LANGUAGE attribute do you?

Okay next, why are you using XHTML? Any real reason, just "because". If
you want any hope of MS IE cooperation don't try and feed it XHTML.

http://www.google.com/search?hl=en&q=why+I+should+not+use+xhtml&btnG=Search
why I should not use xhtml - Google Search

BTW, which version IE are you having problems with? Looks fine in IE6 &
7., IE 5.5 does shows headerbox with different padding, but IE's box
model is very broken and who uses < EI 6?

What's with the SPAN in the DIV headerBox? Why is this not a H1 element
and style accordingly?
 
N

Next

Jonathan said:
Did you read the message?

# Error Line 41, Column 119: there is no attribute "language".

… collection code --><script language="JavaScript"
src="http://us.js2.yimg.com


You have used the attribute named above in your document, but the
document type you are using does not support that attribute for this
element. This error is often caused by incorrect use of the "Strict"
document type with a document that uses frames (e.g. you must use the
"Transitional" document type to get the "target" attribute), or by using
vendor proprietary extensions such as "marginheight" (this is usually
fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the
document type you are using, as an undefined element will have no
supported attributes; in this case, see the element-undefined error
message for further information.

How to fix: check the spelling and case of the element and attribute,
(Remember XHTML is all lower-case) and/or check that they are both
allowed in the chosen document type, and/or use CSS instead of this
attribute. If you received this error when using the <embed> element to
incorporate flash media in a Web page, see the FAQ item on valid flash.


Now look up the SCRIPT element:

<!ELEMENT SCRIPT - - %Script; -- script statements -->
<!ATTLIST SCRIPT
charset %Charset; #IMPLIED -- char encoding of linked resource --
type %ContentType; #REQUIRED -- content type of script language --
src %URI; #IMPLIED -- URI for an external script --
defer (defer) #IMPLIED -- UA may defer execution of script --

Don't see a LANGUAGE attribute do you?

Okay next, why are you using XHTML? Any real reason, just "because". If
you want any hope of MS IE cooperation don't try and feed it XHTML.

http://www.google.com/search?hl=en&q=why+I+should+not+use+xhtml&btnG=Search
why I should not use xhtml - Google Search

BTW, which version IE are you having problems with? Looks fine in IE6 &
7., IE 5.5 does shows headerbox with different padding, but IE's box
model is very broken and who uses < EI 6?

What's with the SPAN in the DIV headerBox? Why is this not a H1 element
and style accordingly?


Many thanks for your help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,536
Members
45,009
Latest member
GidgetGamb

Latest Threads

Top