Jump to content

Xepb

Newbie
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Xepb

  1. Спасибо большое!! Помогло!!
  2. html <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link href="style.css" rel="stylesheet" type="text/css" media="screen"/> <title>Мой первый шаблон</title> </head> <body > <div class="body_wrapper"> <div class="conteiner"> <div class="header"> <div class="header_logo"> <h1><span></span></h1> <div class="search"> <form action ="http://www.vkontakte.ru"> <div> <h3>Search:</h3> <input type="text"/> <input type="submit" value="Go" class="buttom" /> </div> </form> </div> </div> </div> <div class="model"> </div> <div class="content"> <div id="navmenu"> <ul> <li class="nav1"><a href="http://www.vkontakte.ru" title="home"><span>Home</span></a> <li class="nav2"><a href="http://www.vkontakte.ru" title="store"><span>Store</span></a> <li class="nav3"><a href="http://www.vkontakte.ru" title="faq"><span>FAQ</span></a> <li class="nav4"><a href="http://www.vkontakte.ru" title="resource"><span>Resource</span></a> <li class="nav5"><a href="http://www.vkontakte.ru" title="contact"><span>Contact</span></a> </ul> <div class="clearthis"> </div> </div> </div> <div class="footer">Подвал</div> </div> </div> </body> </html> css * {padding: 0; margin:0; } body {background-color: #749a01; padding: 25px 0 25px; font-size: 11px; color: #415005; font-family: tahoma, arial, sans-serif; } .body_wrapper{background:white ; width: 786px; margin: 0 auto; padding: 3px 0;} .conteiner {background: #90b304; margin:0 3px; } .header { width:780px; overflow: hidden; padding: 0 } .header .header_logo h1 {width:230px; height: 55px; background: url("company_logo.gif") no-repeat 0% 50%; float: left;} .header .header_logo .search {widrh: 200px; float: right; margin:15px 12px; font-weight: bolt} .header .header_logo .search h3 {font-size: 11px; float:left; padding-top: 6px} .header .header_logo .search.input {margin: 2px 3px 0 7px; width:120px; float:left} .header .header_logo .search input.buttom {width:23px; height: 21px; color:#fff; background: url("search_button.gif") #92bb27 no-repeat 0% 2px; border:none; font-size: 11px; cursor:pointer; } .content {width: 780px; background: url("main_image.jpg") no-repeat; } #navmenu {width:780px; height: 42px; overflow: hidden;} .content #navmenu li {float:left; height: 42px; padding-right: 34px; background: url("navmenu_background.gif") no-repeat;} .content #navmenu li.nav4 {padding-right: 26px} .content #navmenu li.nav5 {padding: 0; background: url(navmenu_background_5.gif) no-repeat;} } [color="#FF0000"].content #navmenu li a {width: 130px; height: 32px; display:block; background: no-repeat 50% 50% } .content #navmenu .nav1 a {background: url("navmenu_home.gif") } .content #navmenu .nav2 a {background: url("navmenu_store.gif") } .content #navmenu .nav3 a {background: url("navmenu_faq.gif") } .content #navmenu .nav4 a {background: url("navmenu_resource.gif") } .content #navmenu .nav5 a {background: url("navmenu_contact.gif") } .clearthis {}[/color] span {display: none} a {text-decoration: none;} li{list-style-type: none;} ul{list-style-type: none;} div{border: solid 1px} img {border: none} Помогите!! Почему у меня на действует на ссылки background: no-repeat 50% 50% а если отдельно каждему задавать то все отлично!! А то замучился ошибку искать!! Кто сможет подскажите буду очень признателен!! Проблема с кодом или с руками
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. See more about our Guidelines and Privacy Policy