Jump to content
Sign in to follow this  
Jetix

Meniul dropdown muta logo-ul din loc!?

Recommended Posts

Salut, am si eu o eroare la meniu si nu stiu cum sa o rezolv, cand pun cursorul pe un buton cu dropdown muta logo-ul din loc, iar eu nu vreau sa faca asta, vreau ca logo sa ramana acolo, iar meniul sa coboare peste el. Am incercat mai multe comenzi, dar nu au functionat, daca puteti sa ma ajutati as fi recunascator.

Aici un video cu problema:

Edited by Jetix

Share this post


Link to post
Share on other sites

14 minutes ago, DeNyS. said:

Incearcă să adaugi 


position: absolute;

la dropdown și ar trebuii să meargă.

Am incercat, iar acum le-a suprapus

Uite aici meniul css:

.meniu {
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 30px;
	border-bottom: 2px solid #C70000;
}

.meniu ul {
	float: left;
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.meniu ul li {
	margin: 0px;
	padding: 0px;
	width: 110px;
	height: 20px;
	line-height: 20px;
	display: block;
	text-align: center;
}

.meniu ul li a {
	margin: 0px;
	margin-top: 5px;
	padding: 0px;
	padding-bottom: 5px;
	display: block;
	text-decoration: none;
	color: white;
	font-size: 15px;
}

.meniu ul li a:hover {
	border-bottom: 2px solid #FF0000;
}

.meniu ul li ul li {
	display: none;
}

.meniu ul li:hover ul li {
	display: block;
	list-style-position: relative;
}
 

image.thumb.png.3bac608d820a6ae7305edf2b0ecc3a2d.png

Edited by Jetix

Share this post


Link to post
Share on other sites

Gata am rezolvat-o, a trebuit sa adaug acel "position: absolute;" la .meniu

.meniu {
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 30px;
	border-bottom: 2px solid #C70000;
	position: absolute;
}

Multumesc DeNyS.!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...