Re: [css-d] Validation problems
On 06/10/2007, Tim Offenstein [EMAIL PROTECTED] wrote: I am reviewing a page for a client (www.physics.uiuc.edu) that uses a hover class and some events. On lines 178, 194, and 202 in the HTML a call for onmouseover, onfocus, onmouseout, and onblur events occurs. You're trying to apply onblur and onfocus to a div. Since divs in HTML 4 (or any other markup language standard) cannot hold the focus, these events can never fire, so the attributes are not in the list of allowed attributes for the div element. -- David Dorward http://dorward.me.ukhttp://blog.dorward.me.uk __ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Re: [css-d] VALIDATION PROBLEMS
Hi Jane, Could you post or paste the code somewhere for people to look at? I have found that those kind of errors have to do with either a doctype problem or some kind of JavaScript error. If you send the code, I am sure you will get more help. HTH, Riva jane jordan wrote: Hello When validating (by local file upload) just my CSS stylesheet I receive no errors. When I try and validate the page containing the CSS I receive the following message :- Lexical error at line 1, column 3. Encountered: D (68), after : ! and no style sheet found I am a complete newbie, using GoLive and not on-line yet, and I can't get past this problem (have lost about three days of my life !). It seems that the CSS itself is ok but it's as if something can't get past the beginning of my html document to check the css in the page. Please, if anyone could help me, it will be very greatly appreciated ! JaneJ __ 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/
Re: [css-d] VALIDATION PROBLEMS
jane jordan wrote: When I try and validate the page containing the CSS I receive the following message :- Lexical error at line 1, column 3. Encountered: D (68), after : ! and no style sheet found You will get that message if you upload an HTML file to the CSS validator. The D is the first letter in !DOCTYPE ... Note the text that says that the CSS validator takes _CSS files only_ when using File Upload, which means it can't separate HTML from CSS. Validate your HTML by uploading it to the HTML validator... http://validator.w3.org/ regards Georg -- http://www.gunlaug.no __ 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/