Zaloguj | Zarejestruj | FAQ
Anonymous

"float" is covering the drop-down menu

+ Odpowiedz

Posty: 4 Strona 1 z 1


"float" is covering the drop-down menu

przez ingingkoh » Cz wrz 30, 2010 6:43 am

can anyone help me to solve out this problem? this is what have been coded

<div style="width:288px;font-family:arial,sans-serif;font-size:13px;float:left"><div><embed type="application/x-shockwave-flash" src="http://picasaweb.google.com/s/c/bin/slideshow.swf" width="230" height="153" flashvars="host=picasaweb.google.com&hl=en_US&feat=flashalbum&RGB=0x000000&feed=http%3A%2F%2Fpicasaweb.google.com%2Fdata%2Ffeed%2Fapi%2Fuser%2F109941902914439785976%3Falt%3Drss%26kind%3Dphoto%26access%3Dpublic%26psc%3DF%26q%26uname%3D109941902914439785976" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></div></div>

thanks!

Załączniki

  1. Untitled.png (130.4 KiB) Pobrane 3333 razy

Avatar użytkownika

ingingkoh

  • Posty: 2
  • Dołączył(a): Cz wrz 30, 2010 6:29 am

Re: "float" is covering the drop-down menu

przez HTML.net » Cz wrz 30, 2010 7:51 am

Hi,

Try to put a z-index on the div:

<div style="z-index:1000;width:288px;font-family:arial,sans-serif;font-size:13px;float:left">

That should put it in front. Read more about z-index here: http://html.net/tutorials/css/lesson15.php

- Andreas, HTML.net
Avatar użytkownika

HTML.net
Site Admin

  • Posty: 1194
  • Dołączył(a): So wrz 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.

Re: "float" is covering the drop-down menu

przez ingingkoh » Cz wrz 30, 2010 8:21 am

still the same thing happened...
Avatar użytkownika

ingingkoh

  • Posty: 2
  • Dołączył(a): Cz wrz 30, 2010 6:29 am

Re: "float" is covering the drop-down menu

przez HTML.net » Cz wrz 30, 2010 8:45 am

Sorry. It was the other way around: You need to put a z-index on your drop-down menu (and remove it from the image). Or maybe you can solve it by setting the z-index on the image to "0":

<div style="z-index:0;width:288px;font-family:arial,sans-serif;font-size:13px;float:left">

Hope it makes sense.

- Andreas, HTML.net
Avatar użytkownika

HTML.net
Site Admin

  • Posty: 1194
  • Dołączył(a): So wrz 11, 2010 11:24 am
--
Show some love for HTML.net on Twitter, Facebook and Google: Use the buttons on top of all pages.


+ Odpowiedz

Strona 1 z 1