![]() |
menu css - Wersja do druku +- Forum Webmastera, HTML, CSS, PHP, MySQL, Hosting, Domeny - Forum dla Webmasterów (https://www.webmastertalk.pl) +-- Dział: Technologie internetowe - tworzenie stron WWW (https://www.webmastertalk.pl/forum-technologie-internetowe-tworzenie-stron-www) +--- Dział: Początkujący webmaster (https://www.webmastertalk.pl/forum-poczatkujacy-webmaster) +--- Wątek: menu css (/thread-menu-css--3103) |
menu css - maciekamator - 06-01-2010 witam ...mam maly problem jak moge podniesc sam text menu bez ruszania obramowania przyciskow? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="description" content="przykladowy blog" /> <link rel="stylesheet" href="file:///C|/Users/LAWRENCE/Desktop/style.css" type="text/css" /> <title>6ActiveBlog</title> <style type="text/css"> body { background-image: url(../../Documents/SCD%20STUDIO/tlo.jpg); background-color: white; background-repeat: repeat-x; margin:0; padding:0; } a { text-decoration: none; } img { border:0; padding:0; } div#naglowek img { margin-left:150px; margin-top:10px; } div#naglowek li { display:inline; width:auto; float:left; } div#naglowek ul { padding:14px; margin-top:19px; margin-left:137px; } div#naglowek li { display:block; width:auto; height:12px; float:left; padding:12px; border:1px solid white; border-bottom:none; margin-right:2px; } a { font-weight:bolder; color:white; text-decoration:none; } div#naglowek li:hover { background-color:#F00; } </style> </head> <body> <div id="naglowek"> <a href="file:///C|/Users/LAWRENCE/Desktop/Nowy folder"><img src="6s.png" /></a> <ul> <li><a href="file:///C|/Users/LAWRENCE/Desktop/index.html">Strona główna</a></li> <li><a href="file:///C|/Users/LAWRENCE/Desktop/Omnie.html">O mnie</a></li> <li><a href="file:///C|/Users/LAWRENCE/Desktop/porto.html">Portfolio</a></li> <li><a href="file:///C|/Users/LAWRENCE/Desktop/kontakt.html">Kontakt</a></li> </ul> </div> </body> </html> RE: menu css - Radian - 06-01-2010 Margin i padding, tym musiał byś sie pobawić. Uważaj, każda przeglądarka inaczej to interpretuje, także zabawy będziesz miał z tym pewnie dużo :p |