Change I-Frame background color

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Andy128
    Major General

    • Dec 2005
    • 2317

    Change I-Frame background color

    Greetings-

    I was wondering if it is possible to change the background of the I-Frame so that when a single .jpg is displayed from the server- I can have the background a different color than white.

    I realize that I could post each picture on a web page and put the background to what ever color I wish. I was just hoping there was a way to do this without creating so many web pages.

    Cheers

    Andy
    PHP- is a blast!
  • davidundalicia
    General

    • Mar 2006
    • 6294

    #2
    Re: Change I-Frame background color

    Dont think so andy because I-frames are transparent otherwise you would not be able to see the picture........
    I hope Im wrong because I would like to achieve the same objective as your self.
    Have fun
    Regards..... David

    Step by Step Visual Tutorials for the complete beginner
    Newbies / Beginners Forum
    FREE Membership Login Scripts: - Meta Tags Analyzer
    My Social Networking Site - Free Contact Forms
    Finished your New website!! Now get it noticed Here:

    Comment

    • Girlonthehill
      General

      • Oct 2005
      • 4193

      #3
      Re: Change I-Frame background color

      Originally posted by Andy128
      Greetings-

      I was wondering if it is possible to change the background of the I-Frame so that when a single .jpg is displayed from the server- I can have the background a different color than white.

      I realize that I could post each picture on a web page and put the background to what ever color I wish. I was just hoping there was a way to do this without creating so many web pages.

      Cheers

      Andy
      Andy,
      try adding the code on the 'inside tag' of the frame html.

      This what I add there to make the background transparent.

      allowtransparency="true" background-color="transparent"

      Hope that helps!

      VodaHost

      Your Website People!
      1-302-283-3777 North America / International
      02036089024 / United Kingdom
      291916438 / Australia

      ------------------------

      Top 3 Best Sellers

      Web Hosting - Unlimited disk space & bandwidth.

      Reseller Hosting - Start your own web hosting business.

      Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


      Comment

      • Andy128
        Major General

        • Dec 2005
        • 2317

        #4
        Re: Change I-Frame background color

        Thanks Amanda- but no such luck.

        David- yeah, I was not very hopeful. Was wishing for a magic script out there somewhere.

        Good night all,

        Andy
        PHP- is a blast!

        Comment

        Working...
        X