<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    Sealyu

    --- 博客已遷移至: http://www.sealyu.com/blog

      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
      618 隨筆 :: 87 文章 :: 225 評論 :: 0 Trackbacks

    PNG Overlay

    17 January 2007 › 28 comments

    PNG overlay

    PNG Overlay: Example | Download (44 KB)

    Have you ever run into the problem of creating a site with pictures given by the client, only to find later after they update their photography the original look and feel is not retained? For instance, you might add a drop-shadow, rounded corners (maybe both) or some other graphical effects applied to the images. This is all well and good, but what about the webmaster or journalist who follows after you – Will he or she be able to keep the look consistent?

    In order to help remedy this potential problem, here is a solution that I came up with. Basically, it involves creating a transparent PNG overlay which can be used as a mask / frame around regular JPEG or GIF. This way, a typical CMS installation can be configured so users can upload photos without having to worry about using any graphics program to apply filters. Even if you are already a whiz with graphics, it will help save you time.

    The nice thing about this method is that you are just applying an absolutely positioned <div> with a PNG backround over the top of a regular image, so you still get the benefits of a relevant alt attribute / value pair, as well as printing images because they are technically in the foreground as far as the browser is concerned. It will even work in IE6, with the proprietary Microsoft alpha style filter applied. IE7 will handle the transparency natively.

    I am not going to go in depth and explain how to make transparent overlays, because there are already plenty of Photoshop tutorials out there. For a good explanation of how to achieve this effect in Fireworks, check out the article at solarDreamStudios. I hope this demo inspires ideas and makes life easier.



    還有一個css圓角效果: http://www.htmldog.com/examples/images3_3.html

    posted on 2009-09-23 09:54 seal 閱讀(369) 評論(0)  編輯  收藏 所屬分類: CSS
    主站蜘蛛池模板: 大片免费观看92在线视频线视频| 亚洲啪AV永久无码精品放毛片| 一级毛片免费播放视频 | 国产免费MV大全视频网站| 日本一道一区二区免费看 | 免费a级毛片大学生免费观看 | 182tv免费观看在线视频| 亚洲av最新在线网址| 日本免费高清视频| 亚洲一区二区影院| 99精品视频免费观看| 中文字幕亚洲第一在线| 91精品国产免费久久久久久青草| 亚洲国产中文在线二区三区免| 51视频精品全部免费最新| 亚洲欧洲国产综合| 成人午夜免费福利| 色吊丝免费观看网站| 丝袜熟女国偷自产中文字幕亚洲| 中国内地毛片免费高清| 亚洲av午夜福利精品一区人妖| **一级毛片免费完整视| 亚洲色欲色欲www| 四虎永久精品免费观看| 一级女人18片毛片免费视频| 国产AV无码专区亚洲A∨毛片| 四虎在线视频免费观看视频| 2020天堂在线亚洲精品专区| 日韩精品成人亚洲专区| 一区二区三区无码视频免费福利| 亚洲精品美女视频| 日本一道高清不卡免费| 中文成人久久久久影院免费观看| 亚洲色图视频在线观看| 日本免费观看网站| 波多野结衣免费一区视频| 亚洲日本视频在线观看| 国产伦精品一区二区三区免费下载| 在线观看免费无码视频| 亚洲一卡二卡三卡四卡无卡麻豆| 免费二级毛片免费完整视频|