左边可以下拉 右边可以下拉 还不是框架 哇塞

这是神马样式 完全看不懂嘛

  1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2 <html xmlns="http://www.w3.org/1999/xhtml">
  3 <head>
  4 <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
  5 <style type="text/css">
  6 *html {
  7     _background-image:url(http://img.autohome.com.cn/ypimages/empty.jpg);
  8     _background-attachment:fixed;
  9 }
 10 body {
 11     background-image:url(http://img.autohome.com.cn/ypimages/empty.jpg);
 12     margin:0;
 13     font-family:"宋体";
 14     background:#FFF;
 15     background-attachment:fixed;
 16     font-size:12px;
 17     overflow-x:hidden;
 18 }
 19 *html .menuList {
 20 top:expression(documentElement.scrollTop);
 21 height:expression((documentElement.clientHeight));
 22     position:absolute
 23 }
 24 .menuList {
 25     background:#F6F6F6;
 26     height:100%;
 27     left:0;
 28     overflow-x:hidden;
 29     overflow-y:hidden;
 30     position:fixed;
 31     top:0;
 32     width:197px;
 33 }
 34 .contentList {
 35     padding: 4px 0 0 10px;
 36 }
 37 .rightContent {
 38     width:800px;
 39     margin-left:197px;
 40     height:100%;
 41     position:relative;
 42 }
 43 </style>
 44 </head>
 45 <body>
 46 <div class="menuList">
 47   <div class="contentList">
 48     <div style="height: 100%; overflow-x: hidden; overflow-y: scroll; position: fixed; margin-left:-4px;top: 110px; width: 187px; background-color:#0033CC">
 49       <p>ffffffffffffffff</p>
 50       <p>ffdfa</p>
 51       <p>s</p>
 52       <p>asdf</p>
 53       <p>&nbsp;</p>
 54       <p>r4t6</p>
 55       <p>6345</p>
 56       <p>6rt</p>
 57       <p>h</p>
 58       <p>56</p>
 59       <p>8u5</p>
 60       <p>8i</p>
 61       <p>8</p>
 62       <p>&nbsp;</p>
 63       <p>u6r</p>
 64       <p>uy7567</p>
 65       <p>567</p>
 66       <p>5</p>
 67       <p>756</p>
 68       <p>f </p>
 69       <p>ffffffffffffffff</p>
 70       <p>ffdfa</p>
 71       <p>s</p>
 72       <p>asdf</p>
 73       <p>&nbsp;</p>
 74       <p>r4t6</p>
 75       <p>6345</p>
 76       <p>6rt</p>
 77       <p>h</p>
 78       <p>56</p>
 79       <p>8u5</p>
 80       <p>8i</p>
 81       <p>8</p>
 82       <p>&nbsp;</p>
 83       <p>u6r</p>
 84       <p>uy7567</p>
 85       <p>567</p>
 86       <p>5</p>
 87       <p>756</p>
 88       <p>f </p>
 89       <p>ffffffffffffffff</p>
 90       <p>ffdfa</p>
 91       <p>s</p>
 92       <p>asdf</p>
 93       <p>&nbsp;</p>
 94       <p>r4t6</p>
 95       <p>6345</p>
 96       <p>6rt</p>
 97       <p>h</p>
 98       <p>56</p>
 99       <p>8u5</p>
100       <p>8i</p>
101       <p>8</p>
102       <p>&nbsp;</p>
103       <p>u6r</p>
104       <p>uy7567</p>
105       <p>567</p>
106       <p>5</p>
107       <p>756</p>
108       <p>f </p>
109       <p>ffffffffffffffff</p>
110       <p>ffdfa</p>
111       <p>s</p>
112       <p>asdf</p>
113       <p>&nbsp;</p>
114       <p>r4t6</p>
115       <p>6345</p>
116       <p>6rt</p>
117       <p>h</p>
118       <p>56</p>
119       <p>8u5</p>
120       <p>8i</p>
121       <p>8</p>
122       <p>&nbsp;</p>
123       <p>u6r</p>
124       <p>uy7567</p>
125       <p>567</p>
126       <p>5</p>
127       <p>756</p>
128       <p>f </p>
129       <p>ffffffffffffffff</p>
130       <p>ffdfa</p>
131       <p>s</p>
132       <p>asdf</p>
133       <p>&nbsp;</p>
134       <p>r4t6</p>
135       <p>6345</p>
136       <p>6rt</p>
137       <p>h</p>
138       <p>56</p>
139       <p>8u5</p>
140       <p>8i</p>
141       <p>8</p>
142       <p>&nbsp;</p>
143       <p>u6r</p>
144       <p>uy7567</p>
145       <p>567</p>
146       <p>5</p>
147       <p>756</p>
148       <p>f </p>
149       <p>ffffffffffffffff</p>
150       <p>ffdfa</p>
151       <p>s</p>
152       <p>asdf</p>
153       <p>&nbsp;</p>
154       <p>r4t6</p>
155       <p>6345</p>
156       <p>6rt</p>
157       <p>h</p>
158       <p>56</p>
159       <p>8u5</p>
160       <p>8i</p>
161       <p>8</p>
162       <p>&nbsp;</p>
163       <p>u6r</p>
164       <p>uy7567</p>
165       <p>567</p>
166       <p>5</p>
167       <p>756</p>
168       <p>f </p>
169     </div>
170   </div>
171 </div>
172 <div class="rightContent">
173   <p>ddddddddddddddddddddd</p>
174   <p>&nbsp;</p>
175   <p>&nbsp;</p>
176   <p>&nbsp;</p>
177   <p>&nbsp;</p>
178   <p>&nbsp;</p>
179   <p>&nbsp;</p>
180   <p>&nbsp;</p>
181   <p>&nbsp;</p>
182   <p>&nbsp;</p>
183   <p>&nbsp;</p>
184   <p>&nbsp;</p>
185   <p>&nbsp;</p>
186   <p>&nbsp;</p>
187   <p>&nbsp;</p>
188   <p>&nbsp;</p>
189   <p>&nbsp;</p>
190   <p>&nbsp;</p>
191   <p>&nbsp;</p>
192   <p>&nbsp;</p>
193   <p>&nbsp;</p>
194   <p>&nbsp;</p>
195   <p>&nbsp;</p>
196   <p>&nbsp;</p>
197   <p>&nbsp;</p>
198   <p>&nbsp;</p>
199   <p>&nbsp;</p>
200   <p>&nbsp;</p>
201   <p>&nbsp;</p>
202   <p>&nbsp;</p>
203   <p>&nbsp;</p>
204   <p>dfasdf</p>
205   <p>&nbsp;</p>
206   <p>&nbsp;</p>
207   <p>&nbsp;</p>
208   <p>&nbsp;</p>
209   <p>&nbsp;</p>
210   <p>&nbsp;</p>
211   <p>&nbsp;</p>
212   <p>&nbsp;</p>
213   <p>&nbsp;</p>
214   <p>&nbsp;</p>
215   <p>&nbsp;</p>
216   <p>&nbsp;</p>
217   <p>&nbsp;</p>
218   <p>&nbsp;</p>
219   <p>&nbsp;</p>
220   <p>&nbsp;</p>
221   <p>&nbsp;</p>
222   <p>&nbsp;</p>
223   <p>&nbsp;</p>
224   <p>&nbsp;</p>
225   <p>&nbsp;</p>
226   <p>&nbsp;</p>
227   <p>&nbsp;</p>
228   <p>&nbsp;</p>
229   <p>&nbsp;</p>
230   <p>&nbsp;</p>
231   <p>&nbsp;</p>
232   <p>&nbsp;</p>
233   <p>&nbsp;</p>
234   <p>&nbsp;</p>
235   <p>&nbsp;</p>
236   <p>&nbsp;</p>
237   <p>&nbsp;</p>
238   <p>&nbsp;</p>
239   <p>&nbsp;</p>
240   <p>asdf</p>
241   <p>&nbsp;</p>
242   <p>&nbsp;</p>
243   <p>&nbsp;</p>
244   <p>&nbsp;</p>
245   <p>&nbsp;</p>
246   <p>&nbsp;</p>
247   <p>&nbsp;</p>
248   <p>&nbsp;</p>
249   <p>&nbsp;</p>
250   <p>&nbsp;</p>
251   <p>&nbsp;</p>
252   <p>&nbsp;</p>
253   <p>&nbsp;</p>
254   <p>&nbsp;</p>
255   <p>&nbsp;</p>
256   <p>&nbsp;</p>
257   <p>&nbsp;</p>
258   <p>&nbsp;</p>
259   <p>&nbsp;</p>
260   <p>asdfaaaaaaaaaaa</p>
261   <p>&nbsp;</p>
262   <p>&nbsp;</p>
263   <p>&nbsp;</p>
264   <p>&nbsp;</p>
265   <p>&nbsp;</p>
266   <p>&nbsp;</p>
267   <p>&nbsp;</p>
268   <p>&nbsp;</p>
269   <p>&nbsp;</p>
270   <p>&nbsp;</p>
271   <p>&nbsp;</p>
272   <p>&nbsp;</p>
273   <p>&nbsp;</p>
274   <p>&nbsp;</p>
275   <p>&nbsp;</p>
276   <p>&nbsp;</p>
277   <p>&nbsp;</p>
278   <p>&nbsp;</p>
279   <p>&nbsp;</p>
280   <p>&nbsp;</p>
281   <p>&nbsp;</p>
282   <p>&nbsp;</p>
283   <p>&nbsp;</p>
284   <p>dddddddddddddd</p>
285 </div>
286 </body>
287 </html>

 

 



posted @ 2013-08-28 15:23  竹三戒  阅读(272)  评论(0编辑  收藏  举报