427 posts
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
  • Has sold $100+ on Envato Market
  • Has collected 10+ items on Envato Market
+6 more
agodesa says

But when I apply the padding-top, one part of sub nav is on the very front and I don’t like that.

1. Cuando trato de pasar del menu al submenu, el submenu desaparece.

http://www.youtube.com/watch?v=Tp_nZE_Hd3c

2. ¿Hay alguna forma de que un “div” con posicionamiento de “absolute” se pueda poner en frente de algún otro “div”, y al reves (o sea, que se vaya para atras)?

Thanks, CROZER .

2254 posts Digital Artist
  • Had an item featured in a magazine
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has referred 200+ members
+12 more
crozer says

But when I apply the padding-top, one part of sub nav is on the very front and I don’t like that.

1. Cuando trato de pasar del menu al submenu, el submenu desaparece.

http://www.youtube.com/watch?v=Tp_nZE_Hd3c

2. ¿Hay alguna forma de que un “div” con posicionamiento de “absolute” se pueda poner en frente de algún otro “div”, y al reves (o sea, que se vaya para atras)?

Thanks, CROZER .

Lo que sucede es que el margin es como un ‘espacio en blanco’, por eso cuando tu mouse sale de la superficie del link y entra a este espacio en blanco del margin, tu sub-menu desaparece. El padding en cambio no es un espacio en blanco.

Sin embargo, viendo el código de tu sub-menu, te recomendaría que uses este o este.

2. Si, debes usar z-index, Por ejemplo, quieres que el elemento A esté encima del elemento B. Entonces haces A { z-index: 2; } y B { z-index: 1; }. Y si después quieres añadir un elemento C que vaya encima de todos, y un elemento D que esté debajo de todos, haces C { z-index: 3; } y D { z-index: 0; }. Básicamente en cuanto mayor el número del z-index, más arriba va el elemento.

Suerte,
Chris

963 posts
  • Has been part of the Envato Community for over 6 years
  • Has sold $10,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
EireStudio says

The forums is for English speaking only as we all can understand what is being said :)

2254 posts Digital Artist
  • Had an item featured in a magazine
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has referred 200+ members
+12 more
crozer says

The forums is for English speaking only as we all can understand what is being said :)

Sorry, but it’s much more efficient to explain something to someone in his/her native language.

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by