Ò»¸öcssƽÆÌÎÊÌâ
CSS code:
body{
width:100%;
font-size:12px;
font-family:tahoma,arial,'ËÎÌå';
color:#666666;
float:none;
background: url(/images/bg.gif) left top repeat-y;
text-align:center;
margin:0 auto;
padding:0px;
}
Ϊʲô²»ÄÜÏòYÖáƽÆÌ£¿Ö»ÄÜÏÔʾ×î×ó±ßµÄÒ»ÌõÏß³öÀ´¡£Ê¹ÓÃbackground: url(/images/bg.gif) left top repeat;¿ÉÒÔƽÆÌ£¬µ«ÊÇÎÒ²»ÐèÒªxÖá°¡
Í·²¿DHTMLµÄÎÊÌâ¡£¸ã¶¨ÁË
!:(»¹ÊDz»ÐС£ÎÒÈÕ°¡
ÄÄλ¿´¿´£¬×ż±°¡
Ϊʲô²»°Ñ´úÂë²ð¿ªÐ´ÄØ£¿
body { background-image:url(images/bg.gif); background-position:top left; background-repeat:repeat-y;}
»¹ÓУº{ float:none;}Õâ¾ä»°µÄº¬ÒåÄãÇå³þÂð£¿Õâ¾äÊÇûÓбØҪдµÄ¡£
ºÜÓпÉÄܵľÍÊÇÄãÓÃÆäËûµÄDIV²ã°ÑbodyÒ²¸ÇסÁË£¬±ÈÈ綨ÒåÁËÒ»¸ö#container { width:98%;}
°ÑÕû¸ö´úÂë·¢ÉÏÀ´¿´¿´°É¡£
°Ñ¸ß¼ÓÉÏÊÔÊÔ¡£¡£¡£
Ïà¹ØÎÊ´ð£º
ÎÒÓõÄÊÇÁ¬½Ó³Ø×öµÄ£¬ÅäÁ¬½Ó³ØµÄ·½·¨Ó¦¸ÃûÓÐ´í£¬ÎªÊ²¾ÍÊdzöÏÖÕâÖÖÎÊÌâ
javax.servlet.ServletException: javax.naming.NameNotFoundException: No object bound to name java:comp/env/test
ÇëÎÊ´óÏÀÃÇÕâÊÇÔ ......
ÏÖÔÚ²»ÏëÓÃ<a> </a> ±êÇ© £¬ÒòΪµã»÷ºó»á³öÏÖÒ³ÃæÖض¨Î»£¬¸øÎÄ×Ö¼ÓÉÏcssÑùʽ¾Í¿ÉÒÔ¿´ÆðÀ´ ÊÇhrefÔõôʵÏÖÕâÑùµÄcss
text-decoration:underline; cursor:hand;
ÒýÓÃ
text-decoration:underline; cur ......
ÔõÑùʹµÃdiv2ºÍdiv1ÔÚͬһÐÐÉÏ
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=" ......
´ó¼Ò¶¼Ôõô¼ÇÒäcss¼òдÊôÐԵİ¡£¬ÎÒÔõô×ÜÊǼDz»×¡
±ÈÈçfont£º Ö±½Ó¸úןܶàÊôÐÔ¡£¡£¡£¼ÇµÄÓôÃÆ
ËÓкð취
д¶àÁ˶¼ÊìϤÁË
д¶àÁË ²»Öª²»³£¼û¾Í¼ÇסÁË
¶àд~~~
font³£ÓõľÍÄÇô¼¸¸ö ´óС¡ ......
ÏîĿ·¾¶ÊÇÕâÑùµÄ
¾ÍÊÇÓ¦ÓõÄʱºò³ö²»À´Ð§¹û ÎÒ¾õµÃÓ¦ÓõÄ·¾¶Ã»ÎÊÌâ°¡
¾ÍÊÇDtails.jsp ±»sitemesh ÐÞÊÎ Dtails¡£jsp Ó¦ÓÃcss <link rel="stylesheet" type="text/css" href=" ......