Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > Web Development
You last visited: Today at 02:17

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Hilfe Hover frage

Discussion on Hilfe Hover frage within the Web Development forum part of the Coders Den category.

Reply
 
Old   #1


 
Philoy's Avatar
 
elite*gold: 52
Join Date: Oct 2012
Posts: 2,860
Received Thanks: 1,560
Hilfe Hover frage

Ich hab nen Problem.
Und zwar der Hover will nicht wie ich will

So soll er sein:

So sieht es codiert aus:

Also aufjedenfall sollen die Menupunkte in einer Reihe stehen, also möchte ich kein text-align setzen, der hover soll mittig sein versteht sich ja, aber kriege es nicht hin.

Code:
#menu ul li a {
    color: #596877;
    display: block;
    font-size: 15px;
    margin-left: 50px;
    padding-bottom: 5px;
    padding-top: 5px;
    text-decoration: none;
    float: left;
}
#menu ul li a:hover {
    background-color: #232A32;
    border-radius: 6px;
    padding-bottom: 5px;
    width: 95px;
}
Hab rausbekommen.
Philoy is offline  
Old 06/04/2014, 16:47   #2

 
Terreox's Avatar
 
elite*gold: 155
Join Date: Aug 2009
Posts: 628
Received Thanks: 153
Ich hab jetzt nicht so mega viel mit HTML zu tun, aber vielleicht sowas?

Code:
<!DOCTYPE html>
<html>
<head>
	<title></title>

	<style type="text/css">
	body{
		background: #29323B;
	}
	#mainmenu
	{
		float: left;
	}
	#mainmenu ul
	{
		list-style: none;
		color: #596877;
	}
	#mainmenu ul li
	{
		padding: 10px;
		margin: 8px 0;
		border-radius: 5px;
	}
	#mainmenu ul li:hover
	{
		background: #232A32;
		color: #647B91;
	}
	</style>
</head>
<body>
	<nav id="mainmenu">
		<ul>
			<li>Home</li>
			<li>Portfolio</li>
			<li>Service</li>
			<li>Projects</li>
			<li>Imprint</li>
		</ul>
	</nav>
</body>
</html>
P.S.: Falsche Sektion ->
#moverequest
Terreox is offline  
Reply


Similar Threads Similar Threads
HTML Hover geht nicht
12/18/2013 - Web Development - 1 Replies
Hallo, ich benutz das CMS Wordpress möchte da nun ein Bild Hover einfügen. Mit ein Bild Hover <img src="/imges/tabelle/tabelle_head.png" alt="" /><a onMouseOver="image.src='/imges/tabelle/tabell e_front_blau_game5.png';" onMouseOut="image.src='/imges/tabelle/tabelle _front_grau_game5.png';"> <img name="image" src="/imges/tabelle/tabelle_front_grau_game5. png"</a> da geht alles! Nun wenn ich jetzt 3 Bilder mit Hover reinmach geht das Hover nicht. Warum? 3 Bilder mit Hover
Nav Hover
12/03/2013 - Web Development - 1 Replies
Moin Leute, unzwar möchte ich meiner Nav Bar einen Hover geben . http://i.epvpimg.com/ZEDBh.png wie kriege ich das hin?
[HTML/CSS] Frage: Navigation Hover/Selected/Selected Hover
08/28/2010 - Web Development - 1 Replies
Hallo zusammen. Ich bin gerade dabei ein Wordpress Layout umzusetzen und habe in Photoshop eine schicke Navigation gebastelt. Ich habe 5 Navipunkte, jedoch soll später im design unterschieden werden zwischen: Normal, Hover, Selected und Selected Hover. Einen einfachen Hovereffekt konnte ich ganz einfach erzeugen mit: <a href="http://lalala.lala/"><img src="http://localhost/wordpress/wp-content/th emes/eskapism/images/home.png"></a> <img...
[AutoIt] Buttons mit Hover Effekt?
05/11/2010 - General Coding - 2 Replies
Hallo, ich suche nach einer Möglichkeit, dass ich meinen Buttons, denen ich ein Hintergrundbild gegeben hab, einen Hover Effekt geben kann. Kennt jemand eine Lösung? Ich hab bis jetzt mit FileInstall eine Bilddatei hinzugefügt und das Bild auf den Button gelegt. Allerdings sieht er langweilig aus, da er nichts "macht" wenn man mit der Maus über ihn geht :( Greetz
Chams, Boxes, No Fog, Hover
01/14/2010 - Combat Arms Hacks, Bots, Cheats & Exploits - 4 Replies
Features: 1. Box ESP - Draw's Box's around players 2. Fly Hack - Hold Space bar to Fly. 3. No Fog - On maps such as Snow Valley, there is fog. Fog reduces your ability to see far distances in front of you. No fog removes the fog on the map enabling you to see what was hidden by the fog previously 4. Speed Hack - Increases your player's walking speed. 5. Tracer Bullets - Show's a colorful line in which your bullets fire. 6. Show FPS - Show's your "Frames per second". 7. Full Bright...



All times are GMT +1. The time now is 02:17.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.