Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

CSS¼òµ¥ÎÊÌâ

µ±¸ö²ãdiv CSSÑùʽ±»ÉèÖóÉfloat:leftÒÔºó

Ëû¾ÍÊÇÒ»¸ö·Ç±ê×¼Á÷ÁË£¬ËûµÄ¸ß¶ÈÒ²±ä³ÉÁË0£¿

ÇëÎÊʲôÊǷDZê×¼Á÷£¨Í¨Ë×Ò»µã£¬ºÇºÇ£©£¿

Ϊʲô¸ß¶È»á±ä³É0ÄØ Ëû²»ÊÇÃ÷Ã÷»¹ÔÚÒ³ÃæÏÔʾÂ𡣡£¸Õ³õѧCSS£¬±ð¼ûЦ
·Ç±ê×¼Á÷£¬¾ÍÊÇÍÑÀëÕý³£µÄÒ³ÃæäÖȾ

Ó¦¸ÃÊÇ¿é°É, floatÊÇÖ¸¶¨¶ÔÏ󸡶¯µÄλÖÃ,¿ÉÒÔÓÐÉÏÏÂ×óÓÒ,µ±ÉèÖÃfloat:leftʱ,¾ÍÊÇdivÔÚ×ó±ß¸¡¶¯,²»ÊǶÀÕ¼Ò»ÐÐÁË,


²»Ã÷ºÜÃ÷°×£¬µ«»¹ÊÇллÄãÃÇ¡£¡£


Ïà¹ØÎÊ´ð£º

cssÑùʽÎÞ·¨ÏÔʾÔÚjspÒ³Ãæ

Ö±½Óͨ¹ýÁ´½ÓÌøתµ½jspÒ³ÃæµÄʱºòcssÑùʽÄÜÕý³£ÏÔʾ£¬
µ«ÊÇͨ¹ýactionºǫ́´¦ÀíÍêÒµÎñÂß¼­ºóÌøתÓÃmappingÌøתµ½jspµÄʱºòÕû¸öÑùʽ¶¼Ã»ÓÐÏÔʾÁË
Ôõô½â¾ö
ллÁË
ÔõôûÈ˻شð°¡

¾ÍÊÇͨ¹ýspring·ÃÎÊjsp ......

cssÊôÐÔΪʲôûÓã¿

ÎÒÔÚ±í¸ñÀïÃæ ·ÅÁËÒ»ÕÅͼƬ ÏëÈÃËûÌù×ÅÒ³ÃæµÃ×îÓÒ±ß ºÍ ×îÉÏÃæ
¿ÉÊDz»¹ÜÔõôŪ ¶¼ÓÐÒ»¶Î¾àÀë ÓиßÈ˸æËßÎÒÏÂûmargin£­right ÎÒÓÃÁË Ã»ÓÃ
Ôõô°ì£¿
½¨ÒéÖ±½ÓÓà margin£ºÉϱ߾àÀë Óұ߾àÀë ϱ߾àÀë ×ó±ß¾àÀ ......

¹ØÓÚ¶¯Ì¬Éú³É¾²Ì¬Ò³ÃæÖо²Ì¬Ò³ÃæÖÐcss·¾¶ÎÊÌâ

ÏÖÔÚÕýÔÚ×öASP.NET ¶¯Ì¬Éú³É¾²Ì¬Ò³

ÏÖÔÚÎÊÌâÊÇÕâÑù
ÎÒµÄÄ£°åÒ³ÎÒ·ÅÔÚÁËÒ»¸öÎļþ¼ÐÖÐ ±ÈÈçTemplate/Template.html

È»ºóÎÒͨ¹ý³ÌÐò×Ô¶¯Éú³ÉHTMLÒ³Ãæ
Éú³ÉµÄHTML ÊÇ·ÅÔÚ²»Í¬µÄÎļþ¼ÐÏ ±ÈÈçmainFol ......

ÇóͼƬÁбícssºÃ·½°¸

ÒªÇó¼æÈÝÖ÷Òªä¯ÀÀÆ÷£¬
×îºÃͼƬ²»ÓÃÉèÖÃpx´óС£¬¸ù¾Ý°üÈÝÌå´óС×Ô¶¯Ëõ·Å¡£
ÆÚ´ýÄÜÓÐÕâ·½ÃæÅÅ°æµÄרÌâ×ÊÁÏ¡£

ÇëÎÊimgºÍspanΪʲôҪÉèÖÃΪdisplay£ºblockÊôÐÔ£¬ÕâÑù×öÓÐʲôºÃ´¦£¬Í¼ÎÄÁбíÀý×ÓÀ´×ÔdedeÔ­Ê ......

ʹÓÃCSS»¹ÊÇDOM»¹ÊÇÆäËüjs¿â?

ÎÒÏÖÔÚÔÚѧϰÍøÕ¾¿ª·¢£¬Ñ§Ï°µÄ¹ý³ÌÖз¢ÏÖCSSÊÇÓÃÀ´ÉèÖÃÑùʽµÄ£¬¶øDOMÒ²¿ÉÒÔÓÃÀ´ÉèÖÃÑùʽ£¬js¿âÒ²¿ÉÒÔ¡£
ÕâЩ¾¿¾¹ÔÚʲôʱºòÓÃʲô?
ÇëÖ¸µã£¡Ð»Ð»£¡

²»ÓÃjs+dom²Ù×÷css,LZд¸öÓÃdom²Ù×÷cssµÄÀ´¿´¿´

DOMÖ»ÊÇÒ» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ