Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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£¬Ä ......

css½â¾ö±íµ¥ÏÂÀ­¿òͼƬÎÊÌâ - Web ¿ª·¢ / HTML(CSS)

ÄÄλ¸ßÊÖÄÜ°ïÎÒ½â¾öÕâ¸öÎÊÌ⣺
ÓÐûÓÐcssʵÏÖ±íµ¥µÄÏÂÀ­¿ò¼ýÍ·ÓÃͼƬ´úÌ棿²»ÓÃjs
ÎÒʹÓÃÁËjsºó£¬ÔÊÐí¿Ø¼þÔËÐÐÇ°Ä£¿é±äÐΣ¬ÔÊÐíºó²ÅÕý³£ÏÔʾ£¬ËùÒÔÎÒÏëÔËÓÃcssÀ´ÊµÏÖ¡£
лл£¬ÔÚÏߵȡ£
ºÃÏñ¶¼ÊÇÓÃJS¡£¡£À´ÊµÏÖ± ......

HTML±êÇ©µ×²ãµÄʵÏÖÔ­Àí¡¢»úÖÆ - Java / Java SE

ΪʲôHTMLÒÔ¼°Ò»Ð©ÆäËü±êÇ©»áÏÔʾһЩÌض¨±íÏÖÐÎʽÄØ£¿ÈçHTMLÖеĻ»ÐбêÇ©<BR/>ÔڵײãÊÇÔõÑùʵÏÖµÄÄØ£¿ÏÖʵµÄÔ­ÀíÊÇʲôÄØ
È¥W3C¹Ù·½ÍøÕ¾ÉÏ£¬¿´¿´°É£¡ÎÒÏëÒ»¿´Äã¾ÍÃ÷°×ÁË

ÎҲºͱàÒëÔ­ÀíÓйأ¬ä¯ÀÀÆ÷Àï¿É ......

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ºÅ