View Full Version : Problem with transparency and font


Junita
06-25-2005, 06:47 PM
Yay I finally did it and succeded in making my iframe and scrollbar transparent! But know the font I'm using in tha page that loads in the iframe looks really weird, like bold and dizzy. When I'm opening this page seperately the font looks normal so it has to be a problem with the allowed transparency in the iframe.. You can see my problem here (http://darklady88.de/crazylady/main.html)

thats what my iframe-code is looking like:

<iframe style="position:absolute;left:125px; top:143px; height:387px; width:589px;" src="home.html"

Can somebody please help me?

iluvteddies
06-25-2005, 07:27 PM
It looks ok to me...

lefty
06-25-2005, 08:39 PM
I can hardly read what's in your iframe... try increasing the font size.

Junita
06-26-2005, 08:45 PM
even if I increase the size the font still looks weird... I know that it's hardly readable... But compare this font (http://darklady88.de/crazylady/home.html) to the one that's visible in the iframe.

jhereg
06-30-2005, 02:54 AM
ok, to fix the problem:

change the line:

<iframe style="position:absolute;left:125px; top:143px; height:387px; width:589px;" src="home.html" frameborder=0 name="home" style="FILTER: chroma (color=#00FF06)" allowtransparency="true"></iframe>

to:

<iframe style="position:absolute;left:125px; top:143px; height:387px; width:589px;" src="home.html" frameborder=0 name="home" allowtransparency="true"></iframe>

the chroma filter is distorting the text.

Happy programming :)

-jhereg

even if I increase the size the font still looks weird... I know that it's hardly readable... But compare this font (http://darklady88.de/crazylady/home.html) to the one that's visible in the iframe.

MaGiCSuN
06-30-2005, 11:13 AM
to explain the above code a bit more:

the chroma filter makes that effect to the text on some people's computers. Only a few have this, and i used to have that aswell (winXP, IE 6) when i used my mom's laptop.

There's nothing to fix on this, other then deleting the whole chroma filter out of it like shown in the post above me.

Like now on my own computer (mac osx, safari) i see the text fine. You are just one of the few that see it different, just bad luck.

oh yeah change iframe code to this:

<iframe style="position: absolute; left: 125px; top: 143px; height: 387px; width: 589px;" src="home.html" frameborder="0" name="home" allowtransparency="true"></iframe>

spacings can mess up allot if they are in the wrong place :) the forum puts them in for some weird reason .. so yeah :)
Love,
Mirna

Junita
06-30-2005, 12:22 PM
Thank you for your help! I couldn't keep the transparent scrollbar, but I changed the colors to fit the layout and it still looks ok. Visitors with other explorers wouldn't have seen it anyway.