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

CSSʵÏÖframeset

Ê×ÏÈÊÇHTML´úÂë:
<div id="outer">
  <div id="leftFrame" style="width: 20%;">
    <div style="height: 30%" id="packageListFrame" title="All Packages" >
      Package list goes here
     </div>
    <div style="height: 70%" id="packageFrame" title="All classes and interfaces (except non-static nested types)" >
      Class list goes here
    </div>
  </div>
  <div style="width: 80%;" id="classFrame" title="Package, class and interface descriptions">
   Summary details go here
  </div>
</div>
Ìí¼ÓÈçÏÂÑùʽ:
<style type="text/css">
#outer { position: relative; }
#leftFrame {
  position: fixed;
  height: 100%;
  width: 20%;
  top: 0;
}
#classFrame {
  position: absolute;
  left: 21%;
  width: 77%;
}
#packageListFrame{
  position: static;
  height: 200px;
  overflow: scroll; }
#packageFrame {
  position: static;
  height: 70%;
  overflow: scroll;
}
 
</style>


Ïà¹ØÎĵµ£º

css選擇·û´ó雜燴

 
ÀàÐÍÑ¡Ôñ·û£ºµ¥Ö¸ÔªËصÄÃû×Ö£¬¶øûÓдóÓںźÍСÓÚºÅ
ÀàÑ¡Ôñ·û£ºÑ¡ÔñËùÓи³ÓÐÏàͬÀàµÄÔªËØ Ò»¸öµãºÅºóÃæ¸úÀàÃû£¬ÀàÑ¡Ôñ·ûÒª¸ú×ÅÀàÃûµÄºóÃæ¡£ ¿ÉÒ԰ѼÓÔÚͨÅä·û*µÄºóÃæÀ´Ñ¡ÔñÎĵµÖÐËùÓи³Óè¸ÃÀàµÄÔªËØ£¬
Id Ñ¡Ôñ·û
 
Ⱥ×éÑ¡Ôñ·û£º¶à¸öÑ¡Ôñ·ûÓöººÅÁ¬ÆðÀ´
ºó´úÑ¡Ôñ·û£º¶à¸öÑ¡Ôñ·ûÓÿհ×Á¬ÆðÀ´
×ÓÑ¡Ôñ·û£º¶à ......

CSS Containing Floats

Ô­ÎÄÍøÖ·£ºhttp://www.complexspiral.com/publications
Containing Floats
As powerful and useful as they are, floats can make for tricky layout tools. Chances are that you may have seen something like the situation shown in Figure 1, which is accomplished with just two div elements, each with a floate ......

»ùÓÚJavaScriptºÍCSSµÄWebͼ±í¿ò¼ÜºáÏò¶Ô±È

jQuery, MooTools, Prototype µÈÓÅÐãµÄ JavaScript ¿ò¼ÜÓµÓи÷ÖÖÇ¿´óµÄ¹¦ÄÜ£¬°üÀ¨»æÖÆ Web ͼ±í£¬Ê¹ÓÃÕâЩ¿ò¼ÜÒÔ¼°ÏàÓ¦²å¼þ£¬ÎÒÃÇ¿ÉÒԷdz£ÇáËɵØʵÏÖÇúÏßͼ£¬Ô²±ýͼ£¬Öù״ͼµÈ Web ͼ±íµÄ»æÖÆ£¬¶ø²»±ØÏóÒÔÍùÄÇÑùͨ¹ý¸´Ô Flash ¼¼ÊõʵÏÖ¡£±¾ÎĽéÉÜÁË9¸öÓÅÐãµÄ»ùÓÚ JavaScript Óë CSS µÄ Web ͼ±í¿ò¼Ü¡£ 1. Flot Flot ......

css hacks (ie6,ie7,ie8,firefox,Chrome)

·ÖÀà:WebÇ°¶Ë
IE6ÄÜʶ±ðÏ»®Ïß"_"ºÍÐǺÅ" * "£¬IE7ÄÜʶ±ðÐǺÅ" * "£¬µ«²»ÄÜʶ±ðÏ»®Ïß"_"£¬ IE8ÄÜʶ±ð" \9"£¬µ«²»ÄÜʶ±ðÏ»®Ïß"_"£¬ ¶øfirefoxÁ½¸ö¶¼²»ÄÜÈÏʶ,È´¿ÉÒÔʶ±ð‘!important’¡£µÈµÈ
Êéд˳Ðò£¬Ò»°ãÊǽ«Ê¶±ðÄÜÁ¦Ç¿µÄä¯ÀÀÆ÷µÄCSSдÔÚºóÃæ¡£ÏÂÃæÁоٳ£ÓõÄCSS hack·½·¨
 
 
1£º!importan ......

CSSÇпªÍ¼Æ¬

 clip:rect(ÉÏ£¬ÓÒ£¬Ï£¬×ó) Ëĸöµã×ø±ê
<img src="1.jpg" style=" clip:rect(0£¬30£¬10£¬10);"/>
´Ë·½·¨²»ÊʺϼôÇб³¾°
±³¾°Ê¹ÓÃ
style="background-image:url(bg.jpg); background-position:20px 0px;"
kground-position:
1.¶¨Î»·½·¨ left center  ºáÏò ×ÝÏò
2.ÇÐÈ¡ ºáÏòpx ×ÝÏòpx
²»ÊʺÏÆ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ