CSSÑéÖ¤µÄÎÊÌâ
ÎÒÕâÀïÓÐÒ»¶Î´úÂë
JScript code:
<script type="text/javascript">function CheckVote(obj){var oSel=obj.getElementsByTagName("input");var iLength=oSel.length;for(var i=0;i<iLength;i++){var flag=false;if(oSel[i].type=="checkbox" || oSel[i].type=="radio"){if(oSel[i].checked==true){flag=true;break;}}}if(flag==false){alert("ÇëÑ¡ÔñÑ¡Ïî²ÎÓëÎÒÃǵĵ÷²é");oSel[0].select();}return flag;}</script>
ÔÚ½øÐÐÑé֤ʱ³öÏÖÕâÖÖ´íÎó
HTML code:
Validation Output: 6 Errors
1. Error Line 320, Column 144: character ";" not allowed in attribute specification list
¡th=oSel.length;for(var i=0;i<iLength;i++){var flag=false;if(oSel[i].type=="ch
✉
2. Error Line 320, Column 144: element "iLength" undefined
¡th=oSel.length;for(var i=0;i<iLength;i++){var flag=false;if(oSel[i].type=="ch
✉
You have used the element named above in your document, but the document type you are using does not define an element of that name. 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 "Fram
Ïà¹ØÎÊ´ð£º
¶ÔCSSÄÜ¿´¶®£¬µ«Ò»Ð©ÊôÐÔ»¹ÊDz»Äܹ»ÍêÈ«Àí½â¡£
×Ô¼ºÖ»»áдЩ³£ÓõÄCSS¡£»¹Ã»´ïµ½´´ÔìºÍ´´Ðµĵز½¡£
ËùÒÔÏëÎÊϸ÷λǰ±²£¬Ó¦¸Ã¿´ÄDZ¾Êé½ÏºÃÄØ£¿
½¨Òé²»ÂòÊéÍøÉÏÕҽ̳Ì×Ôѧ£¬Õâ¸ö¶«Î÷²»ÊǺÜÄÑ£¬¶àÁ·Ï°¾Í»áÁË
......
cssÖÆ×÷µÄµ¯³ö²Ëµ¥£¬Êó±êÒƳöºó²Ëµ¥Ïûʧ£¬ÎÒÏÖÔÚÏëÈÃÊó±êÒƳöºó²Ëµ¥±£Áô¡£¾ÍÏñÒÁÀû¹«Ë¾£¨www.yili.com)Ò»Ñù¡£
ÊDz»ÊÇÒª¸Ä²Ëµ¥µ¯³öµÄjs»òcss´úÂë¡£´úÂëÈçÏ£º¾ÍÊDz»ÖªÈçºÎ¸Ä?
function menuFix()
{var sfEls = doc ......
¼ò½àʵÓõÄÊó±ê¾¹ý±äÉ«µÄboxЧ¹û£¬´¿CSSÖÆ×÷£¬ÏÂÃæÊÇÔ´´úÂ룬¿ÉÒÔÁí´æΪ .html ¸ñʽ²é¿´£¬»òÕßÔÚ×îÏÂÃæÓÐÔÚÏßÑÝʾµÄµØÖ·¡£
HTML code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//E ......
ÎÒÓõÄasp£¬°ÑÑùʽֱ½ÓдÔÚ±êÇ©ÉÏ¿ÉÒÔ£¬µ«ÊÇ°ÑÑùʽдÔÚÒ»¸öµ¥¶ÀµÄÎļþÀï±ßÒýÓþͳö´íÁË£¡¿ÉÒÔÒýÓ㬵«ÊÇÓëÖ±½ÓдÔÚ±êÇ©Àï±ßЧ¹û²»Ò»ÑùÁË£¡Çë¸ßÊÖÖ¸µãÃÔ½ò£¡Ð»Ð»£¡
·¾¶ÎÊÌ⣿
ÃÔ½ò°¡¾ÍÊÇÂí»¢£¬ÄãµÄÎļþÒýÓÿ ......
½¨Á¢Ò»¸öDIV²ã£¬ÔÚ²ãÀï·ÅÈëһЩ¿Ø¼þÔªËØ¡£ÎÒÔÚDIV²ãÖÐÔö¼ÓÒ»¸öÒõÓ°Â˾µ£¬·¢ÏÖÒԸòãΪÈÝÆ÷µÄµÄ¿ÉÊÓÔªËض¼º¬ÓÐÒõӰЧ¹û¡£ÈçºÎÈ¥³ý¸Ã²ãÖпÉÊÓÔªËصÄÒõӰЧ¹û°¡£¿
°ÑÒªÔö¼ÓÒõÓ°Â˾µÐ§¹ûµÄ¼Ó¸ö±êÇ©£¬¸øËüµ¥¶À¼Ó²»¾ÍÐÐÁË ......