兼容 IE,Firefox 的图片自动缩放 CSS

  1. .Image {  
  2.     max-width:600px;height:auto;cursor:pointer;  
  3.     border:1px dashed #4E6973;padding3px;  
  4.     zoom:expression( function(elm) {  
  5.         if (elm.width>560) {  
  6.             var oldVW = elm.width; elm.width=560;  
  7.             elm.height = elm.height*(560 /oldVW); 
  8.         } 
  9.         elm.style.zoom = '1'
  10.     }(this));
分页:«1»

日历

<< 2010-8 >>

Sun

Mon

Tue

Wed

Thu

Fri

Sat

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

Powered By Z-Blog 1.8 Devo Build 80108

Copyright © 2006-2011 9ba.Cn. All Rights Reserved. 京ICP备05058609号