ÒÔÏ´úÂë
ÔÚIEÖдòÓ¡Ô¤ÀÀÖУ¬ÏÔʾÁ½Ò³£¬²¢¿ÉÒÔ·Ò³£¬
ÔÚfirefoxÖдòÓ¡Ô¤ÀÀ£¬ÏÔʾֻÓÐÒ»Ò³£¬²»¿ÉÒÔ·Ò³¡£
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html >
<head> <title> </title>
</head> <body>
<div style="position: relative; width:100%;height:100%;"> <div
style="position:absolute;left:234px;top:54px;width:607px;height:32px;overflow:hidden;"> <tabl
e border="0" width="100%" height="100%" cellpadding="0" cellspacing="0"> <tr> <td style="font
-size:27px;font-family:Arial;word-wrap:break-word;border-width:0px;border-
style:solid;border-color:black;text-align:center;vertical-align:top;"> <b>Work
orders </b> </td> </tr> </table> </div> <div
style="position:absolute;left:37px;top:96px;width:66px;height:14px;overflow:hidden;"> <table
border="0" width="100%" height="100%" cellpadding="0" cellspacing="0"> <tr> <td style="font-
size:11px;font-family:Arial;word-wrap:break-word;border-width:0px;border-style:solid;border
cssÖÆ×÷µÄµ¯³ö²Ëµ¥£¬Êó±êÒƳöºó²Ëµ¥Ïûʧ£¬ÎÒÏÖÔÚÏëÈÃÊó±êÒƳöºó²Ëµ¥±£Áô¡£¾ÍÏñÒÁÀû¹«Ë¾£¨www.yili.com)Ò»Ñù¡£
ÊDz»ÊÇÒª¸Ä²Ëµ¥µ¯³öµÄjs»òcss´úÂë¡£´úÂëÈçÏ£º¾ÍÊDz»ÖªÈçºÎ¸Ä?
function menuFix()
{var sfEls = doc ......
ÔÚʹÓÃCSSÖеÄpadding-leftʱÓöµ½Ò»¸öÎÊÌâ¡£¾ÍÊDZ¾À´ÒѾÉèÖúõĿí¶È£¬padding-leftÒ»ÉèÖà ¶àÉÙºÃÏñ¾Í°ÑÕâ¸ö¼Ó¿íÁ˶àÉÙ¡£ºóÃæµÄDIV¾Í±äλÖÃÁË¡£ÓÐû½â¾ö°ì·¨Ñ½
ÇëÎÊÄãIE¼¸°¡£¿=£¬= ²»»áÓÐÕâÖÖÇé¿öÒ®
Èç¹ûÊÇIE6£¬Ä ......
position:relative²»ÊÇÏà¶Ô¶¨Î»Âð~~ΪʲôÓÃÁ˱ßÆ«Òƶ¨Î»ºóÓÐЩÈ˾Í˵ÊDZä³ÉÁ˾ø¶Ô¶¨Î»ÁË¡¡~~¶øÇÒËüÓëmarginÀ´È·¶¨Î»ÖÃÓÐʲô²»Í¬~~
±ßÆ«Òƶ¨Î»ºóÓÐЩÈ˾Í˵ÊDZä³ÉÁ˾ø¶Ô¶¨Î»ÁË
re:
Ë˵µÄ£¡ÕæÊDz»Ïó»°£¡positi ......
żдÁËÒ»¶ÎCSS´úÂ룬ÔÚIEÀïÏÔʾÕý³££¬¿ÉÔÚFireFoxÀï¾ÍÏÔʾÒì³£¡£¾firebug²é¿´ºó·¢ÏÖÕë¶Ô±êÇ©tdµÄCSS´úÂ붪ʧ¡£
CSS´úÂëÈçÏ¡£
<meta http-equiv="Content-Type" content="text/html; char ......