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

CSSͼƬÊúÖ±¾ÓÖÐÎÊÌâ - Web ¿ª·¢ / HTML(CSS)

ÇëÎÊÔõôÓÃCSSÈÃͼƬÔÚIE8ºÍffÖÐÊúÖ±¾ÓÖа¡£¬ÎÒÔÚIE6ºÍ7ÖÐʵÏÖÁËÊúÖ±¾ÓÖе«ÊÇÔÚIE8ÖоÍÊÇʵÏÖ²»ÁË°¡¡£¡£
ÄǾÍÓÃleftºÍtopÀ´ÊÔÊÔ£¬»òÕß°ÑËü·Åµ½¿ÉÒÔ¾ÓÖеıêÇ©ÖÐÀ´¿ØÖÆλÖÃ

·Å±í¸ñÀï,È»ºóÊúÖ±¾ÓÖÐ
<table><tr><td valign=middle><Img src=""></td></tr></table>

ÎÒÊÇÏë ÎÞÂÛͼƬ¶à´ó ʼÖÕÊÇÊúÖ±¾ÓÖÐ ÄÄÅ ͼƬ¿í¶È³¬¹ýÁËdiv Ò²ÊúÖ±
HTML code:
response.Write("<div style='height:200px; display:table-cell vertical-align:middle; line-height:200px; border:solid #09F 1px; overflow:hidden;'><a href='cpzs.asp?SoftId=")
response.Write(rs_soft("SoftId"))
response.Write("'><img src='")
response.Write(rs_soft("SoftPicUrl"))
response.Write("' width='150' style='border:solid #09F 0px; margin-top:expression((200-this.height)/2);' /></a></div>

ÎÒÊÇÕâÑùдµÄ µ«ÊÇÔÚIE8ºÍffÖÐûÓÃ

aa.div {height:200px; display:table-cell vertical-align:middle; line-height:200px; border:solid #09F 1px; overflow:hidden;}
aa.div img {width:150px; border:solid #09F 0px; margin-top:expression((200-this.height)/2);}

Õâ¸öÊÇdivºÍͼƬµÄcssÏ£Íû¸ßÊÖÖ¸µã



ÔÚIMGµÄÊôÐÔÀï¼ÓÉÏ align="absmiddle" ÊÔÊÔ

·Å±í¸ñÀï,È»ºóÊúÖ±¾ÓÖÐ
<table><tr><td valign=middle>


Ïà¹ØÎÊ´ð£º

cssÖÐpadding-left×ÜÊÇ - Web ¿ª·¢ / HTML(CSS)

ÔÚʹÓÃCSSÖеÄpadding-leftʱÓöµ½Ò»¸öÎÊÌâ¡£¾ÍÊDZ¾À´ÒѾ­ÉèÖúõĿí¶È£¬padding-leftÒ»ÉèÖà ¶àÉÙºÃÏñ¾Í°ÑÕâ¸ö¼Ó¿íÁ˶àÉÙ¡£ºóÃæµÄDIV¾Í±äλÖÃÁË¡£ÓÐû½â¾ö°ì·¨Ñ½
ÇëÎÊÄãIE¼¸°¡£¿=£¬= ²»»áÓÐÕâÖÖÇé¿öÒ®
Èç¹ûÊÇIE6£¬Ä ......

JSPÉú³ÉHTML¾²Ì¬Ò³Ãæ - Java / Java EE

JSPÉú³ÉHTML¾²Ì¬Ò³Ãæ
1.ÓдúÂëµÄÅóÓÑÌù¸ö´úÂë
2.ÓеĺõÄÉú³É·½°¸Ëµ¸ö·½°¸
¹ýÄê·Å¸öÅÚ ×£ºØ×£ºØ£¡

JSPÉú³É¾²Ì¬Ò³Ã棿£¿£¿
»¹ÒªÓ÷½°¸£¿£¿£¿
²»Ã÷°×

ÒýÓÃ
JSPÉú³É¾²Ì¬Ò³Ã棿£¿£¿
»¹ÒªÓ÷½°¸£¿£¿£¿
²»Ã÷ ......

HTMLתPDF - Java / Java EE

¸÷λ´ó¸ç´ó½ÖÃÇ£¬ÎÒÏë°ÑHTMLת»»³ÉPDF£¬Ê¹ÓõÄÊÇFOP£¬µ«ÊDZ¨´í£º
java.lang.ClassCastException: org.apache.fop.layout.BlockArea cannot be cast to org.apache.fop.layout.AreaContainer
at com.test.Html2Pdf ......

ÕâÑùµÄcssд·¨ÊÇʲôÒâ˼? - Web ¿ª·¢ / HTML(CSS)

.css1 .css2 #objid {OVERFLOW: scroll;...}
.css1 .css3 {...} 

°Ñ¾ßÓй²Í¬ÑùʽµÄдµ½Ò»ÆðÁË ºÃά»¤

ÖмäÎÞ¶ººÅ£¬ÊôÓÚÑùʽǶÌ×

ÑùʽµÄ¹²Í¬µÄµØ·½Ð´ÔÚÒ»Æ𣬿ÉÒÔÊ¡µô²»±ØÒªµÄ´úÂëÐÐ~
Õâ¸ö¾ÍÊÇ´úÂë ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ