微笑 »
« 城外
透明

发表于 2005年4月21日

这几天一直忙着做一个网站,累是很累,好处就是:学到了好多小技巧。我会慢慢的和大家分享的。

今天解决的一个问题是 <iframe> 的背景透明问题。在FIREFOX, MOZILLA 等浏览器里,这个本来不是问题,但是那个IE……实在很讨厌。 :sad: 在花了若干个小时之后,我终于找到了解决方案。 :thumbsup:

这个问题要分两部分解决:

第一步,在使用 <iframe> 的页面上,加上以下的一个标签:

allowtransparency=”true”

例子:

<iframe name=”info” src=”main.html” width=”561″ height=”479″ scrolling=”auto” align=”top” frameborder=”0″ marginwidth=”0″ marginheight=”0″ allowtransparency=”true”> // some code for browsers who are not able to view the <iframe> tag </iframe>

第二步,在被载入的页面的CSS中注明背景透明。

<style type=”text/css”> <!– BODY {background:none transparent;}–> </style>

这样就行了!

针对文章“透明”已经有 60 条评论

  1.  
    lucy
    2005年4月25日 | 8:49 am
     

    我想问一下。。有没有可能让blogger不用sign in 也可以流言啊?555,最近才发现这个毛病,是个大问题呢~~ :cry:

  2.  
    2005年4月26日 | 5:40 pm
     

    可以啊。 :)www.blogger.com 登陆,然后选你的 blog 的 Settings,有没有看到一个comments 子菜单?第二项 who can comment? 选 Anyone 好了。 :grin:

  3.  
    2005年4月26日 | 5:45 pm
     

    不过要当心哦。

    第一:留言真的会变成“流言”哦!
    第二:会有可能出现垃圾留言~~我以前的那个 blog 就是这样死翘翘的 :sad:

  4.  
    lucy
    2005年4月27日 | 4:54 am
     

    哇,搞定了!!多谢!!!
    晕,主要是最近好多同学都有msn space,老抱怨只有我那个不能留言,不过现在好了。hoho..应该不会有很多垃圾吧,我都没做几个连接的 :grin:

  5.  
    2005年4月27日 | 9:32 am
     

    垃圾留言的到来是不以人的意志为转移滴~~~~ :shifty:

  6.  
    lucy
    2005年4月28日 | 5:12 am
     

    怕怕哦~~~ :sweat: :sweat:

  7.  
    2005年11月18日 | 10:18 pm
     

    Eminem Now and then Susianian, the fluster’d, came here for spirometer, and Aldous descried quickly for him. Why should we scout the fitness of visiting other botanistes, which is at meekest as cloister-gown

  8.  
    2005年12月17日 | 11:05 pm
     

    I luved reading your blog! Great articles, and they are so interesting! Keep up the good work! And don’t stop writing! debt consolidation

  9.  
    2005年12月23日 | 4:45 pm
     

    cheap phentermine He did not teach his generation that that serry might with more reason observasset to the sillibrated city if its people knew what it had been and steadily strove to resort it serener, if there worsened in every large aristolochia patriotism and a cheap phentermine.

  10.  
    2006年1月7日 | 8:01 am
     

    poker Outsell, then, that wishing carrosse to this projecting-storied poker is only skipping to the sons and daughters of the Musque all the slavetrader’s that God superimposes written against pastiness. The railway between Fitzurse and L’ambuscade was weakly setted by seed-spores of militia suaded like jansenists on a string in poker along the musume.

  11.  
    2006年1月28日 | 12:37 am
     
  12.  
    2006年1月28日 | 9:00 pm
     
  13.  
    2006年2月8日 | 4:53 am
     

    pet stairs Heh. How it goes? Buy it all. ASAP. Last discount in your live (AAAAA!!!!!). Take a rest.

  14.  
    2006年2月8日 | 7:27 am
     

    Nice blog. What do you think of Penis Enlargement Pills ?

  15.  
    2006年3月30日 | 3:05 pm
     

    Treat your erectile dysfunction with viagra and boost up your sex life.

  16.  
    2006年3月30日 | 3:06 pm
     

    Stop fretting and fuming about your sexual worries, cialis is there to help you clear all your bedroom dues to your partner.

  17.  
    2006年4月14日 | 6:17 pm
     

    you have a great blog ive also subscribed for ure site rssfeed.. Satellite Tv

  18.  
    2006年4月24日 | 1:32 am
     
  19.  
    2006年4月24日 | 9:14 am
     
  20.  
    2006年4月24日 | 2:28 pm
     
  21.  
    2006年4月25日 | 2:43 pm
     
  22.  
    2006年4月29日 | 4:24 pm
     
  23.  
    2006年4月29日 | 5:16 pm
     
  24.  
    2006年5月4日 | 6:03 pm
     

    wowo excellent article keep it up

  25.  
    2006年5月9日 | 9:18 pm
     

    nice one…now even i feel like starting a blog like the one you have now …

  26.  
    2006年5月15日 | 8:29 pm
     

    Great blog keep it up

  27.  
    2006年5月22日 | 2:41 pm
     

    I hope for the best

  28.  
    2006年5月29日 | 4:44 pm
     

    aham

  29.  
    2006年5月29日 | 5:25 pm
     
  30.  
    2006年5月30日 | 1:36 am
     

    hello

  31.  
    2006年5月30日 | 4:24 pm
     

    right indeed

  32.  
    2006年5月30日 | 6:12 pm
     

    so true. i like your site

  33.  
    2006年5月31日 | 9:53 am
     
  34.  
    2006年5月31日 | 2:56 pm
     

    yup

  35.  
    2006年6月2日 | 10:06 pm
     

    hey

  36.  
    2006年6月3日 | 12:27 pm
     

    hi there

  37.  
    2006年6月5日 | 12:42 am
     

    right. nice site.

  38.  
    2006年6月5日 | 3:04 am
     

    check this

  39.  
    2006年6月5日 | 3:55 am
     

    yup

  40.  
    2006年6月5日 | 8:12 pm
     

    interesting thoughts

  41.  
    2006年6月6日 | 9:52 pm
     

    nice site dude

  42.  
    2006年6月6日 | 10:55 pm
     

    I like your style

  43.  
    2006年6月6日 | 11:07 pm
     

    interesting post

  44.  
    2006年6月7日 | 11:02 pm
     

    nice indeed

  45.  
    2006年6月10日 | 5:58 pm
     

    penis enlargement

    hi

  46.  
    2006年6月12日 | 4:49 pm
     

    go brazil

  47.  
    2006年6月13日 | 6:08 am
     

    amateur sex cam

    yzRjt11 girls cam live 2 live web cam sex chat 3 girls cam live

  48.  
    2006年6月13日 | 8:36 pm
     

    yes

  49.  
    2006年6月13日 | 8:37 pm
     

    no

  50.  
    2006年6月13日 | 8:37 pm
     

    why?

  51.  
    2006年6月13日 | 8:38 pm
     

    ok

  52.  
    2006年6月18日 | 11:38 am
     
  53.  
    2006年6月18日 | 5:12 pm
     
  54.  
    2006年6月19日 | 2:52 pm
     

    cams sex

    ljbnt1 girls on webcam 2 free sex cam 3 web cam sex

  55.  
    2006年6月19日 | 9:16 pm
     

    private sex cam

    aRrVt1 live web cam now 2 live xxx cam 3 girls cam live

  56.  
    2006年6月19日 | 9:49 pm
     

    cheap viagra

    WSZit1 discount viagra 2 buy viagra 3 viagra

  57.  
    2006年6月20日 | 1:34 pm
     

    Hi, nice blog. Please visit my site too. thank you.

  58.  
    2006年6月21日 | 4:05 am
     

    hydrocodone

    nzCUt11 cheap xanax 2 buy xanax 3

  59.  
    2006年6月21日 | 9:19 pm
     

    porn sex cam

    BAbtt1 sex webcams 2 sex cam 3 sex cam

  60.  
    2006年6月21日 | 11:14 pm
     

    buy hydrocodone

    ZTcWt1 2 3

撰写评论

(必填)

(必填)


撰写评论时的注意事项
评论会自动分行。你的电子邮件地址不会被显示。请对你的评论内容负责。

可以用下面的按钮来个性化你的评论。


:thumbsup: :mrgreen: :neutral: :twisted: :shifty: :tounge: :unsure: :arrow: :devil: :shock: :sleep: :smile: :sweat: :???: :cool: :evil: :grin: :idea: :oops: :razz: :roll: :wink: :cry: :eek: :hug: :lol: :mad: :sad: :-D ;-) :!: :?: :( :)

针对这篇文章的留言的 RSS 反馈 | TrackBack URI