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

HTML¶ÁÊé±Ê¼Ç

1.·ÀֹͼƬ±»ÏÂÔغ͵ÁÓõķ½·¨£º
  £¨1£©<div>ǶÌ×<img>ÉèÖÃ<div>µÄ±³¾°Í¼Æ¬ÎªÊµ¼ÊͼƬ£¬<img>°üº¬µÄͼƬÊÇÒ»ÕÅ͸Ã÷ͼƬ£¬Á½ÕÅͼƬµÄ³ß´çÏàͬ¡£¼´Ï൱ÓÚÔÚÕæʵͼƬÉÏÌí¼ÓÁËÒ»²ã±£»¤Ä¤£¬ÕâÕű£»¤Ä¤¾ÍÊÇ͸Ã÷ͼƬ¡£ÕâÑùµ±Óû§Ñ¡Ôñ“ͼƬÁí´æΪ”ʱ£¬½«±£´æµÄÊÇ͸Ã÷ͼƬ£¬¶ø²»ÊÇʵ¼ÊͼƬ¡£
2.ä¯ÀÀÆ÷ÊÓ´°£º
    Ó¢ÎĽÐ×öViewPort£¬Ö¸µÄÊÇä¯ÀÀÆ÷ÖпÉÓÃÓÚÏÔʾÍøÒ³µÄ²¿·Ö£¬²»°üÀ¨ä¯ÀÀÆ÷µÄ²Ëµ¥Ìõ¡¢µØÖ·À¸¡¢×´Ì¬ÌõµÈ¡£ä¯ÀÀÆ÷ÊÓ´°ÔÚÓеÄʱºòÊǺÜÓÐÓõģ¬±ÈÈ磺µ±±í¸ñ»òÕßdiv±êÇ©µÄ¿í¶ÈÉèÖÃΪ°Ù·Ö±Èʱ£¬ËõСä¯ÀÀÆ÷´°¿Ú£¬±êÇ©Ò²»áËæÖ®ËõС¡£


Ïà¹ØÎĵµ£º

htmlÖеÄdiv±êÇ©µÄº¬ÒåºÍÓ¦ÓÃ

CSSÊÇDHTMLµÄ»ù´¡£¬CSSÓÃÓÚÉ趨HTMLÔªËØÔÚÒ³ÃæÉϵÄÏÔʾ·ç¸ñ£¬¶øCSS-PÔòÊÇCSSµÄÒ»¸öÀ©Õ¹£¬Ëü¿ÉÓÃÀ´¿ØÖÆHTMLÔªËØÔÚÍøÒ³ÉÏ»òÕß˵ÔÚ´°¿ÚµÄλÖá£ÏÂÃæµÄÁ½¸öÁ´½ÓÌṩÁËCSSºÍCSS£­PÏ꾡µÄ¼¼ÊõÊֲ᣺
¡¡¡¡ W3C CSS-Positioning
¡¡¡¡ Builder.com's CSS Guide
¡¡¡¡ ÔÚ±¾¿Î³ÌÖУ¬½«»á·´¸´µØ¶ÔCSS½øÐнéÉÜ¡£
¡¡¡¡ ʹÓÃDIV±êÇ©
¡¡ ......

¿ÎÄÚÍâhtmlС½á

  
u
<BODY></BODY>±ê¼ÇµÄÊÇÍøÒ³µÄÖ÷Ì壺ËüµÄÊôÐÔÓУºtext:Éè¼ÆÒ³ÃæÎÄ×ÖµÄ×ÖÌåÑÕÉ«£» Bgcolor:É趨ҳÃæµÄ±³¾°ÑÕÉ«£»Background:
É趨ҳÃæµÄ±³¾°Í¼Ïñ£» BGPROPERTIES£ºÉ趨ҳÃæµÄͼƬÊÇ·ñËæ×ÅÒ³Ãæ¹ö¶¯¶ø¹ö¶¯£»Link:É趨µÄÁ´½ÓĬÈÏÑÕÉ«£»Alink£ºÉ趨Êó±ê½Ó½üʱµÄÁ´½ÓÑÕÉ«£»Vlink£ºÉ趨ÒѾ­·ÃÎʹýµÄÁ ......

HTML ¸öÈ˼òÀúÔ´Âë

<html>
 <meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<head>
<title>Ò×Ë®º®µÄ¸öÈ˼òÀú</title>
</head>
<body bgcolor="#CCFFCC" lang=ZH-CN link=blue vlink=blue style='tab-interval:21.0pt'topmargin=4>
<center><h1>Ò×Ë® ......

STRUTS 1.X ͨ¹ý JS »ñÈ¡ STRUTS HTML ±êÇ©µÄÏà¹ØÖµ

<html:select property='optdwdm' style='width:230' onchange='changedw(this)'>
<html:options collection='dwlist' property='dm' labelProperty='mc' />
</html:select>
ÔÚ±êÇ©µÄ ONCHANGE ʼþÀïÃ涨ÒåÒ»¸ö changedw(this)
È»ºó¿ÉÒÔͨ¹ýÒÔÏ´úÂë»ñÈ¡ html:select  Ñ¡È¡µÄ VALUE ......

struts1±êÇ©Ö®html:optionsCollection

ÎÒÃdz£³£°ÑÒ»×鼯ºÏ·Åµ½Ã¿¸öÒ³ÃæµÄÏÂÀ­¿òÖУ¬ÕâÀïÀûÓÃstruts1µÄhtml:optionsCollection¿ÉÒÔÊ¡ºÜ¶àÊ¡£
¾Ù¸öÀý×Ó£º
дһ¸ö¹«¹²¾²Ì¬·½·¨£º
public static Collection<LabelValueBean> getAllType() {
Collection<LabelValueBean> col = new ArrayList<LabelValueBean>();
col.add(new LabelValueBean( ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ