PDA

View Full Version : Transparancy



c!rYx
April 6th, 2003, 01:00 AM
I won't to make a iframe transparent, and so i putted a transparent 1px bg. But it is not working. I think I do something wrong while i create the 1px file.
Could one of you guys please make me a 1px which is REALLY transpatent ? Tx...

lostinbeta
April 6th, 2003, 01:12 AM
You can't make the iframe transparent because the iframe loads in a .html document, and the background of that .html document becomes the background of the iframe.

And you cannot make a transparent background on a .html document.

c!rYx
April 6th, 2003, 01:19 AM
hm, to bad. Then how can I make that just the text content of the iframe is scrolled and not the bg ?

lostinbeta
April 6th, 2003, 01:21 AM
You can use CSS. I feel lazy tonight, so time to post a link :P

http://www.w3schools.com/css/tryit.asp?filename=trycss_background-attachment

c!rYx
April 6th, 2003, 01:23 AM
thanks, I was searching on their site. But I couldn't find it....

c!rYx
April 6th, 2003, 03:20 AM
One more css question ;p
Can I set a picture in the middle of the screen with css ? And how ? Thanks

lostinbeta
April 6th, 2003, 03:23 AM
Yes, you COULD do it in CSS, but it would be much easier to do it with tables....
http://www.kirupaforum.com/forums/showthread.php?s=&threadid=9024

Why easier with tables? Simple, different browsers interpret CSS in different ways, so alignment can SOMETIMES be quite a hassle.

c!rYx
April 6th, 2003, 04:20 AM
Tx for the tipp. But the problem is. I have my screendesign in css and the problem is, that i want the site to be in the middle of the screen. But all the css stuff is absolute. And you can't put the stuff in a table. The css is stronger. I tried it with a iframe. But that is nonsense. What else could i do ?