PDA

View Full Version : DIVided we fail?


Shecky
02-08-2003, 11:21 AM
I recently tested out a page on IE5 and my image on my div layer wouldn’t display. Now to my understanding, layers are a little buggy in MSIE5, but I certainly should see something? Shouldn’t I? Is there a different, more universally compatible way of expressing a layer than the code below?


<DIV STYLE="position:absolute; top:0; left:0">
<img src="images/indextop1.gif">
</DIV>


If someone could refer me to one of those big bad ole' browser/os compatibility charts, that would be great, too. I can't seem to track one down anymore.

If you want my opinion, someone needs to declare some kinda 'national update your browser day.' If the could somehow work in a clause that says you have to use IE, that would be fine, too.

Mhtml
02-08-2003, 02:06 PM
lol :D That's a great idea.

You should see your image at the top left. Although I haven't tested the code I know it will work.

brothercake
02-08-2003, 03:02 PM
Your code is slightly incorrect - you can't have a left and top position of "0" - you have to specify a unit as well, eg:

<div syle="position:absolute;left:0px;top:0px">

Mhtml
02-10-2003, 07:09 AM
But that will not stop it from displaying at all. Well at least not in IE 5.0

meow
02-10-2003, 07:18 AM
But it does work. :confused:

Brother, a unit isn't needed when the vulue is 0.

Mhtml
02-10-2003, 07:26 AM
Originally posted by meow
Brother, a unit isn't needed when the vulue is 0.

Ahh! Clever thinking, makes purrrfect sense Meow. ;)

meow
02-10-2003, 07:35 AM
Yes, but it doesn't solve your problem. :p

Do you have other positioned stuff that might cover the picture?

meow
02-10-2003, 07:37 AM
Oh crap! It isn't your problem. It's Shecky's. :o

Mhtml
02-10-2003, 07:40 AM
lol :)