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

css¾­µäÑùʽ

Ò» CSSÎÄ×ÖÊôÐÔ£º
color : #999999; /*ÎÄ×ÖÑÕÉ«*/
font-family : ËÎÌå,sans-serif; /*ÎÄ×Ö×ÖÌå*/ 
font-size : 9pt; /*ÎÄ×Ö´óС*/ 
font-style:itelic; /*ÎÄ×ÖбÌå*/ 
font-variant:small-caps; /*С×ÖÌå*/ 
letter-spacing : 1pt; /*×Ö¼ä¾àÀë*/ 
line-height : 200%; /*ÉèÖÃÐиß*/ 
font-weight:bold; /*ÎÄ×Ö´ÖÌå*/ 
vertical-align:sub; /*ϱê×Ö*/ 
vertical-align:super; /*Éϱê×Ö*/ 
text-decoration:line-through; /*¼Óɾ³ýÏß*/ 
text-decoration:overline; /*¼Ó¶¥Ïß*/ 
text-decoration:underline; /*¼ÓÏ»®Ïß*/ 
text-decoration:none; /*ɾ³ýÁ´½ÓÏ»®Ïß*/ 
text-transform : capitalize; /*Ê××Ö´óд*/ 
text-transform : uppercase; /*Ó¢ÎÄ´óд*/ 
text-transform : lowercase; /*Ó¢ÎÄСд*/ 
text-align:right; /*ÎÄ×ÖÓÒ¶ÔÆë*/ 
text-align:left; /*ÎÄ×Ö×ó¶ÔÆë*/ 
text-align:center; /*ÎÄ×Ö¾ÓÖжÔÆë*/ 
text-align:justify; /*ÎÄ×Ö·ÖÉ¢¶ÔÆë*/ 
vertical-alignÊôÐÔ
vertical-align:top; /*´¹Ö±ÏòÉ϶ÔÆë*/ 
vertical-align:bottom; /*´¹Ö±Ïò϶ÔÆë*/ 
vertical-align:middle; /*´¹Ö±¾ÓÖжÔÆë*/ 
vertical-align:text-top; /*ÎÄ×Ö´¹Ö±ÏòÉ϶ÔÆë*/ 
vertical-align:text-bottom; /*ÎÄ×Ö´¹Ö±Ïò϶ÔÆë*/ 
¶þ¡¢CSS±ß¿ò¿Õ°×
padding-top:10px; /*Éϱ߿òÁô¿Õ°×*/ 
padding-right:10px; /*Óұ߿òÁô¿Õ°×*/ 
padding-bottom:10px; /*ϱ߿òÁô¿Õ°×*/ 
padding-left:10px; /*×ó±ß¿òÁô¿Õ°×
Èý¡¢CSS·ûºÅÊôÐÔ£º
list-style-type:none; /*²»±àºÅ*/ 
list-style-type:decimal; /*°¢À­²®Êý×Ö*/ 
list-style-type:lower-roman; /*СдÂÞÂíÊý×Ö*/ 
list-style-type:upper-roman; /*´óдÂÞÂíÊý×Ö*/ 
list-style-type:lower-alpha; /*СдӢÎÄ×Öĸ*/ 
list-style-type:upper-alpha; /*´óдӢÎÄ×Öĸ*/ 
list-style-type:disc; /*ʵÐÄÔ²ÐηûºÅ*/ 
list-style-type:circle; /*¿ÕÐÄÔ²ÐηûºÅ*/ 
list-style-type:square; /*ʵÐÄ·½ÐηûºÅ*/ 
list-style-image:url(/dot.gif); /*ͼƬʽ·ûºÅ*/ 
list-style-position:outside; /*͹ÅÅ*/ 
list-style-position:inside; /*Ëõ½ø*/ 
ËÄ¡¢CSS±³¾°Ñùʽ£º
background-


Ïà¹ØÎĵµ£º

IEºÍFirefoxÔÚJSºÍCSS·½ÃæµÄ¼æÈÝÐÔ

1.document.formName.item("itemName") ÎÊÌâ
˵Ã÷:IEÏÂ,¿ÉÒÔʹÓÃdocument.formName.item("itemName")»òdocument.formName.elements["elementName"];
FirefoxÏÂ,Ö»ÄÜʹÓÃdocument.formName.elements["elementName"].
½â¾ö·½·¨:ͳһʹÓÃdocument.formName.elements["elementName"].
2.¼¯ºÏÀà¶ÔÏóÎÊÌâ
˵Ã÷:
IEÏÂ,¿ÉÒÔ ......

³ÎÇåDIV+CSSÉè¼ÆµÄÎóÇø


µ±DIV+CSSƽµØÆð¾ªÀ×ͻȻ³öÏÖÔÚÍøÒ³Éè¼ÆÐÐÒµµÄʱºò£¬¹Ù·½¡¢Ãñ¼äÎÞ²»ÍƳ籸ÖÁ£¬·Â·ðTableÉè¼ÆµÄʱ´ú¾ÍÒªÖսᣬÂí
ÉϾÍÒª²½ÈëDIV+CSSµÄʱ´ú£¬²»¶®µÃDIV+CSSÄ㶼²»ºÃÒâ˼˵Äã»áÍøÒ³Éè¼Æ£¬²»ÖªDIV+CSSÄ㶼²»ºÃÒâ˼˵ÄãÊÇÕ¾³¤£¬Äã
Òª»¹ÊÇÓÃTABLEÀ´Éè¼ÆÕ¾µã£¬ÎÞÊý±ÉÒÄÖ®¹â¾ÍͶÉä¶øÀ´¡£
¡¡¡¡È»¶øDIV+CSSÕæµÄÓÐÕâôÉñÂð?¸ÃÔõà ......

IE6²»½âÎöijЩCSS´úÂëµÄ½â¾ö·½·¨

ÍøÒ³²ÉÓÃÁË UTF-8 ±àÂë¸ñʽ£¬Õâ±¾À´Ã»ÓÐÎÊÌ⣬ÎÊÌâÊÇÍⲿ CSS ÎļþĬÈÏÊÇ ANSI ±àÂ룬²¢Ã»Óб£´æΪ UTF-8 ¸ñʽ¡£¿ÉÄÜÄã»á·¢ÏÖÔÚÒ»°ãÇé¿öÏÂÕâÑùÒ²ÊÇûÓÐÎÊÌâµÄ£¬È»¶øµ± CSS ÎļþÖаüº¬ÓÐÖÐÎÄ×¢ÊÍʱ¾Í¿ÉÄܲ»¾¡ÈçÈËÒâÁË£¡
¡¡¡¡¹À¼ÆÊÇ IE6 °æ±¾ÒÔϵÄä¯ÀÀÆ÷ÔÚ½âÎöÕâ¸ö CSS ÎļþʱÒòΪ±àÂëÎÊÌâ¶øÎÞ·¨ÕýÈ·½âÎö£¬ËùÒԲŻᷢÉú CSS ......

ͨ¹ýʹҳÃ涯̬¼ÓÔز»Í¬CSSʵÏÖ¶à½çÃæ

 Í¨¹ýʹҳÃ涯̬¼ÓÔز»Í¬CSSʵÏÖ¶à½çÃæ
·½·¨Ò»:
<%@page language="C#"%>
<%@import namespace="System.Data"%>
<script language="c#" runat="server">
public void page_load(Object obj,EventArgs e)
{
//´´½¨·þÎñÆ÷¶Ë¿Ø¼þ.
//Ö¸¶¨µÄ±ê¼Ç"LINK"³õʼ»¯´ËÀàµÄÐÂʵÀý.
HtmlGeneric ......

div+css²¼¾Ö±ØÁ˽âµÄÁбíÔªËØul ol li dl dt ddÏê½â

dt ºÍddÖпÉÒÔÔÙ¼ÓÈë ol ul liºÍp£¬Àí½âÕâЩÒÔºó£¬ÔÚʹÓÃdiv²¼¾ÖµÄʱºò£¬»á·½±ãºÜ¶à£¬Æäʵw3cÌṩÁ˺ܶàÔªËظ¨Öú²¼¾Ö¶¼ÊÇÓÐËüµÄÓô¦µÄ£¬¶ø²»¾¡ÊÇdiv¡£
¿é¼¶ÔªËØdiv¾¡Á¿ÉÙÓã¬ÆäʵºÍtableÒ»Ñù£¬Ç¶Ì×Ô½ÉÙÔ½ºÃ£¬ËüÒ²ÊÇ»áÓ°ÏìËٶȵģ¡
ol ÓÐÐòÁÐ±í¡£
<ol>
<li>......</li>
<li>......</li& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ