Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: Frame background colour
11-30-2005, 07:46 PM #1
- Join Date
- Jul 2005
- Thanked 0 Times in 0 Posts
Frame background colour
Wanting to do the crazy thing again.....
If I use the style="background-color: transparent" in the <body> tag of the html what will show through? Should it be the previous background colour of the frame? Should it be the previous contents of the frame? If neither, why would you want to specify it?
The reason I ask is that I want to dynamically change the background color of the frame, but without changing the html for each page I want to display in the frame e.g., I choose green as my default background, and whether I look at page 1 or page 2 in my frame, I see the green background. Fred on the other hand chooses purple as his default background and sees purple whether looking at page 1 or page 2. Now, I can dynamically change the background within page 1 and also within page 2 which is fine albeit complicated, but not if you have a thousand pages to change! It would therefore be so much easier to set it to 'transparent' and have the default background showing through.
Anybody any ideas as to how this might be accomplished? Please be gentle - I have grand ideas but little knowledge.....
11-30-2005, 08:03 PM #2
- Join Date
- Dec 2004
- In a place far, far away...
- Thanked 1,043 Times in 1,019 Posts
Last edited by _Aerospace_Eng_; 11-30-2005 at 08:06 PM.