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>
Ïà¹ØÎĵµ£º
ÀàÐÍÑ¡Ôñ·û£ºµ¥Ö¸ÔªËصÄÃû×Ö£¬¶øûÓдóÓںźÍСÓÚºÅ
ÀàÑ¡Ôñ·û£ºÑ¡ÔñËùÓи³ÓÐÏàͬÀàµÄÔªËØ Ò»¸öµãºÅºóÃæ¸úÀàÃû£¬ÀàÑ¡Ôñ·ûÒª¸ú×ÅÀàÃûµÄºóÃæ¡£ ¿ÉÒ԰ѼÓÔÚͨÅä·û*µÄºóÃæÀ´Ñ¡ÔñÎĵµÖÐËùÓи³Óè¸ÃÀàµÄÔªËØ£¬
Id Ñ¡Ôñ·û
Ⱥ×éÑ¡Ôñ·û£º¶à¸öÑ¡Ôñ·ûÓöººÅÁ¬ÆðÀ´
ºó´úÑ¡Ôñ·û£º¶à¸öÑ¡Ôñ·ûÓÿհ×Á¬ÆðÀ´
×ÓÑ¡Ôñ·û£º¶à ......
ÔÎÄÍøÖ·£º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 ......
jQuery, MooTools, Prototype µÈÓÅÐãµÄ JavaScript ¿ò¼ÜÓµÓи÷ÖÖÇ¿´óµÄ¹¦ÄÜ£¬°üÀ¨»æÖÆ Web ͼ±í£¬Ê¹ÓÃÕâЩ¿ò¼ÜÒÔ¼°ÏàÓ¦²å¼þ£¬ÎÒÃÇ¿ÉÒԷdz£ÇáËɵØʵÏÖÇúÏßͼ£¬Ô²±ýͼ£¬Öù״ͼµÈ Web ͼ±íµÄ»æÖÆ£¬¶ø²»±ØÏóÒÔÍùÄÇÑùͨ¹ý¸´Ô Flash ¼¼ÊõʵÏÖ¡£±¾ÎĽéÉÜÁË9¸öÓÅÐãµÄ»ùÓÚ JavaScript Óë CSS µÄ Web ͼ±í¿ò¼Ü¡£ 1. Flot Flot ......
·ÖÀà:WebÇ°¶Ë
IE6ÄÜʶ±ðÏ»®Ïß"_"ºÍÐǺÅ" * "£¬IE7ÄÜʶ±ðÐǺÅ" * "£¬µ«²»ÄÜʶ±ðÏ»®Ïß"_"£¬ IE8ÄÜʶ±ð" \9"£¬µ«²»ÄÜʶ±ðÏ»®Ïß"_"£¬ ¶øfirefoxÁ½¸ö¶¼²»ÄÜÈÏʶ,È´¿ÉÒÔʶ±ð‘!important’¡£µÈµÈ
Êéд˳Ðò£¬Ò»°ãÊǽ«Ê¶±ðÄÜÁ¦Ç¿µÄä¯ÀÀÆ÷µÄCSSдÔÚºóÃæ¡£ÏÂÃæÁоٳ£ÓõÄCSS hack·½·¨
1£º!importan ......
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
²»ÊʺÏÆ ......