һ
 ע

QQ¼

ֻһٿʼ

ƼĶ

+

[CSS] CSSʵͼƬҶԾ

[]
26234 happy175 2014-9-29 10:34:59
| ʾȫ¥
1F

ϵ½עᣬύѣø๦ܣϴزIJޣ

Ҫ ¼ ſػ鿴ûʺţע  

x
180DIVڽһſ߶С180ͼƬҪCSS취ʹͼƬҶԾС


  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=utf-8" />
  5. <title>ޱĵ</title>
  6. <style>
  7. <!--
  8. * {margin:10;padding:10}
  9. div {
  10. width:180px;
  11. height:180px;
  12. border:1px solid #000;
  13. position:relative;
  14. display:table-cell;
  15. text-align:center;
  16. vertical-align:middle
  17. }
  18. div p {
  19. position:static;
  20. +position:absolute;
  21. top:50%
  22. }
  23. div img {
  24. position:static;
  25. +position:relative;
  26. top:-50%;left:-50%;
  27. }
  28. -->
  29. </style></style>
  30. </head>
  31. <body>
  32. <div>
  33. <p><img src="http://images.websjy.com/logo.png" width="120" height="120" border=1  /></p>
  34. </div>
  35. <div>
  36. <p><img src="http://images.websjy.com/logo.png" width="160" height="160" border=1 /></p>
  37. </div>
  38. <div>
  39. <p><img src="http://images.websjy.com/logo.png" width="130" height="140" border=1 /></p>
  40. </div>
  41. <div>
  42. <p><img src="http://images.websjy.com/logo.png" width="170" height="110" border=1 /></p>
  43. </div>
  44. </body>
  45. </html>
ƴ


ʵЧ

20140929103450.jpg
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ
wanggs 2015-5-15 00:57:53
| ʾȫ¥
3F
Ҳ˽⣬Ҷ˵˵
϶http://www.sex8cccom.com/?n=xiaomahui עˡլǵĸŶ
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
sczsi 2015-7-14 13:49:23
| ʾȫ¥
4F
˵IJ³ġ˴һˣռȻȱԪϵĻ! ˿һ켸ٲ!ɱ΢֣
ٵ˾ʵƷý屨
"+ѷ++ѱ䷢չ"ģʽ
תǮûĶҲ׬Ǯ ˿ɡ
8ɣԼƹ㣬޿
֧֣뵽ϵͳ
5ǰˡ10ǰԱ㻹׼ڵ˴
㻹ڳ˯㻹ûлʶ㻹ʱĵô㽫ٵĽ
ճζʲô˵Ͻ~~
ӿֱע˴԰ɡҵ:http://suo.im/mei8s
ҵ룺15658828613    ˴www.rrchuan.com
˴׬ҵȺ  ӭ˴ҵȺ  Ⱥ룺158040402ע˽Ⱥ
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
fhuj3d96 2016-12-22 06:10:20
| ʾȫ¥
5F
Դ΢http://weibo.com/techued Դ΢Źںţweb-tech
ʹõ ٱ ظ ֧
б

ֹ

²

̳¡ͼƬѷϴվԭתԻ,µİȨԭ
վַİȨ֪ͨǵĹԱ,Ա(Email:admin@websjy.com)ʱȡȨɾ
ܾκκʽڱ̳л񹲺͹ִ!

QQ| 42011102000510|Archiver|ֻ|Դ ( ICP14013341-1

GMT+8, 2018-8-15 05:47

Powered by Discuz! X3.2

ԴԴվ  ԴAPPӦ֮

ٻظ ض б