Forum Moderators: open

Message Too Old, No Replies

Problematic transparency

         

Lexx_Dark

11:23 am on Jul 29, 2003 (gmt 0)

10+ Year Member



Hello.
I am new in design and html, I've searched the google and found what I wanted to get. I wrote a part of the page (you'll find what I wrote till now at <snip>), tested with mozzila and no problem came up, when I tryed it with IE 6 the first problem came. Now in there i have more iframes, one of wich is defined by width,left,top,bottom this is the problem IE doesn't resize the iframe so that it is at a distance from bottom, a distance from top, etc; it just puts it there at a distance from top, no resize in height. I thought i should use a script to solve this problem (any help apreciated). Now i thought i should test it in opera and netscape too. Here comes the second problem. I use transparency in all of my frames, the latest netscape works with them, older ones don't, opera doesn't work at all with transparency. Any ideeas how to achive the transparency effect in these browsers? Or i shall have to make diffrent pages for them? I would also need help on recongnizing wich browser is wich, documents, anything that might help.

Thanks in advance
Lexx

PS Sorry for my poor typing skills (my native language isn't english)

[edited by: korkus2000 at 12:37 pm (utc) on July 29, 2003]
[edit reason] No URLs please [/edit]

Lexx_Dark

8:05 pm on Jul 29, 2003 (gmt 0)

10+ Year Member



May I post a part of the page then?

drbrain

8:17 pm on Jul 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Absolutely, just try to make it as small and relevant as possible. For example, if your problem has nothing to do with fonts or colors, remove those from the snippet you post.

tedster

8:18 pm on Jul 29, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Transparency is a filter that is specific to Explorer - it's not standard, so unfortunately you are not going to get a cross-browser solution. I believe that the newest builds of Mozilla may also have introduced something like this. But still, it's proprietary, and not part of the standard.

We can try to help with the first part of your post. If you post a small portion of the code, eliminating irrelevant information and changing any mention of your domain to example.com, that would be fine. Just help us a bit by focusing in on the important section and trimming out anything that doesn't affect the issue.

Lexx_Dark

8:58 pm on Jul 29, 2003 (gmt 0)

10+ Year Member



Ok I hope I do it right this time.

This is the frame with size problemes. All the browser except IE do this right (120 pixells distance from the bottom), dow i haven't tested it with older netscapes. So what I intennd to do is to make a script wich resizes it when the webpage is resized. Is this the best solution? Did someone use something simmilar which might help? As I understand the transparency effect isn't supported by the standards, so I can only make another page that doesn't make use of it, how can I detect wich browsers support it? Or I will have to detect the web browser and by that realize, wich client can use transparency and wich not?

<iframe allowtransparency="1" style="position:absolute; left:10px; top:10px; width:970px; bottom:120px" name="main" frameborder="0" border="0" src="nav.html" scrolling="auto"></iframe>

(for nav.html i have the tag:
<BODY STYLE="background-color:transparent">

As i have tested it (only with the latest browsers)

Transparency works on:Netscape(I'm very sure that on older ones this doesn't work), Maozilla, IE
The size of the iframe is right for: Mozilla, Netscape, Opera

Thanks again