I can not create a top menu, namely the animation of two buttons in the top menu. Help me please.
Created a text document, wrote it in it.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/html4/loose.dtd"> <html> <head> <meta content="text/html; windows-1251" http-equiv="Content-Type"> <meta content="ΠΡΡΡΠΈΠ΅ ΠΈΠ½ΡΠΎΠΏΡΠΎΠ΄ΡΠΊΡΡ Π΄Π»Ρ Π΄ΠΎΠΌΠ°ΡΠ½Π΅Π³ΠΎ Π±ΠΈΠ·Π½Π΅ΡΠ°" name="description"/> <meta content="ΠΌΠ°Π³Π°Π·ΠΈΠ½ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ², Π²ΠΈΠ΄Π΅ΠΎ ΡΡΠΎΠΊΠΈ, Π²ΠΈΠ΄Π΅ΠΎΡΡΠΎΠΊΠΈ, Π²ΠΈΠ΄Π΅ΠΎΠΊΡΡΡΡ, ΡΡΠΎΠΊΠΈ ΡΠΎΡΠΎΡΠΎΠΏΠ°, adobe photoshop, Π²ΠΈΠ΄Π΅ΠΎΡΡΠΎΠΊΠΈ ΡΠΎΡΠΎΡΠΎΠΏΠ°, Π·Π°ΡΠ°Π±ΠΎΡΠΎΠΊ Π½Π° Π΄ΠΎΠΌΡ, Π·Π°ΡΠ°Π±ΠΎΡΠΎΠΊ Π² ΠΈΠ½ΡΠ΅ΡΠ½Π΅ΡΠ΅, ΠΊΡΠΏΠΈΡΡ, ΠΊΡΠΏΠΈΡΡ Π΄ΠΈΡΠΊΠΈ, ΠΌΠ°Π³Π°Π·ΠΈΠ½Ρ ΠΈΠ½ΡΠ΅ΡΠ½Π΅Ρ ΠΏΡΠΎΠ΄ΡΠΊΡΠΎΠ², Π±ΠΈΠ·Π½Π΅Ρ ΡΡΠ°ΡΡ, ΡΠΎΡΠ΅ΠΊΡ, ΠΊΠ°ΠΊ ΡΠΎΠ·Π΄Π°ΡΡ ΡΠ°ΠΉΡ" name="Keywords"/> <title>ΠΡΡΡΠΈΠ΅ ΠΈΠ½ΡΠΎΠΏΡΠΎΠ΄ΡΠΊΡΡ Π΄Π»Ρ Π΄ΠΎΠΌΠ°ΡΠ½Π΅Π³ΠΎ Π±ΠΈΠ·Π½Π΅ΡΠ°</title> <link href="style.css" rel="stylesheet" type="text/css"></link> </head> <body> <div class="header"> <img alt="ΠΠΎΠ³ΠΎΡΠΈΠΏ Ρ ΠΈΠ·ΠΎΠ±ΡΠ°ΠΆΠ΅Π½ΠΈΠ΅ΠΌ" src="file://localhost/D:/Π‘ΠΎΠ·Π΄Π°Π½ΠΈΠ΅%20ΡΠ°ΠΉΡΡ%20 (Π±Π»ΠΎΠ³Π°)%20Π²ΠΈΠ·ΠΈΡΠΊΠΈ/infoproduct.pusku.com/img/screen.jpg"></div> <div class="top-menu"></div> </div> </body> </html>
Saved it with the html extension. Created a second text document, wrote it in it.
.top-menu { display: block; width: 1250px; height: 40px; margin: 0px 0px 0px 20px; background: url ('.../776e4c4406fb9dcd6041bafc2a45a17c.png'); background: url ('.../26b90e57bf6a4a9f18931a78cf20f0bb.png'); background-repeat: no repeat; } .top-menu:hover { background-position: 0 -50px; } .top-menu:active { background-position: 0 100%; }
Saved with css extension.
I need to, when I made an inscription on the left, the left one stood out and pressed, when I made the right one, the right one stood out and pressed. Tell me where is the error?