¼òµ¥Div+CssÎÊÌâÇë½Ì - Web ¿ª·¢ / HTML(CSS)
HTML code:
<div id="DivC" style="float:left; height:25px; width:100%;">
<div id="Div1" style="float:left; height:25px; width:[color=#FF0000]X[/color]px;">
<div id="Div2" style="float:left; height:25px; width:[color=#FF0000]???[/color];">
</div>
ÉÏÃæ´úÂëÖУ¬Div1µÄWidthÊÓ³ÌÐòÔËÐеĽá¹û¿ÉÄܻᶯ̬±ä»¯¡££¨±ÈÈ磬ÓÐʱÊÇ100px£¬ÓÐʱÊÇ200px£©
Div1ºÍDiv2ÊÇ´¦ÓÚͬһÐС£
ÎÊ£ºDiv2Ó¦ÈçºÎ¶¨Ò壬²ÅÄÜʵÏÖ£ºÔÚDivCµÄWidthΪ100%µÄÈÝÆ÷ÄÚ£¬ÎÞÂÛDiv1ÓõôÁ˶àÉÙ¿í¶È£¬Ê£ÏµÄÈ«²¿¸øDiv2£¿
ÎÒÊÔ¹ýΪDiv2¼ÓÉÏwidth: auto »òmargin: 0px£¬¶¼²»ÐС£Ð»Ð»¡£
ÓÃJS
DIV2=DIVC-DIV1
Ö»¸ødiv1¼ÓÉÏfloat:left£¬div2²»ÓüÓ
{{
Ïà¹ØÎÊ´ð£º
ÎÒÓõÄÊÇÁ¬½Ó³Ø×öµÄ£¬ÅäÁ¬½Ó³ØµÄ·½·¨Ó¦¸ÃûÓÐ´í£¬ÎªÊ²¾ÍÊdzöÏÖÕâÖÖÎÊÌâ
javax.servlet.ServletException: javax.naming.NameNotFoundException: No object bound to name java:comp/env/test
ÇëÎÊ´óÏÀÃÇÕâÊÇÔ ......
display:inline-block;
overflow:hidden;£¨ÍøÂçÉϲéÕÒÊÇÓ°²ØÒç³ö£¬µ«ÊDzâÊÔÆðÀ´¸Ð¾õ²»Ì«Ã÷°×£©
position:relative;£¨¾ø¶Ô¶¨Î»£¬²»ÖªµÀ¶Ô²»¶Ô£©
position:absolute;
ÕâËĸöÊôÐÔÔÚCSSÀïÃæ³öÏÖƵÂʱȽϸߣ¬¸ßÊÖÖ¸µã ......
ÎÒÍøÉÏÏÂÁ˸ö kindeditor µ«²»Ö§³Ö aspͼƬÉÏ´«¹¦ÄÜ
ÓÐûÓкÃÒ»µãµÄ°ì·¨½â¾ö
»òÕß ÍƼöϱðµÄºÃÓÃµÄ html±à¼Æ÷
fckeditor
fckeditor
¿ÉÒÔaspÉÏ´«Í¼Æ¬Âð
ÎÒÈ¥fckµÄÖ÷Ò³ÉÏÏÂÔØ Ã»¼ûµ½ÓÐasp°æµÄ°¡ ......
ÓÃcssËõд ʹÓÃËõд¿ÉÒÔ°ïÖú¼õÉÙÄãCSSÎļþµÄ´óС£¬¸ü¼ÓÈÝÒ×ÔĶÁ¡£cssËõдµÄÖ÷Òª¹æÔòÇë²Î¿´¡¶³£ÓÃcssËõдÓï·¨×ܽᡷ£¬ÕâÀï¾Í²»Õ¹¿ªÃèÊö¡£
¶þ.Ã÷È·¶¨Ò嵥룬³ý·ÇֵΪ0
Íü¼Ç¶¨Òå³ß´çµÄµ¥Î»ÊÇCSSÐÂÊÖÆÕ±éµÄ´íÎó¡£ÔÚHT ......
ÏÖÔÚ²»ÏëÓÃ<a> </a> ±êÇ© £¬ÒòΪµã»÷ºó»á³öÏÖÒ³ÃæÖض¨Î»£¬¸øÎÄ×Ö¼ÓÉÏcssÑùʽ¾Í¿ÉÒÔ¿´ÆðÀ´ ÊÇhrefÔõôʵÏÖÕâÑùµÄcss
text-decoration:underline; cursor:hand;
ÒýÓÃ
text-decoration:underline; cur ......