Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- вот HTML: <!DOCTYPE html>
- <html>
- <head>
- <title>PrintShop</title>
- <meta charset="windows-1251">
- <link href="css/main.css" rel="stylesheet" type="text/css">
- </head>
- <body>
- <div id="page_align" class="b3radius">
- <div id="header">
- <div id="header_nav">
- <ul>
- <li><a href="#">Г</a></li>
- <li><a href="#">К</a></li>
- <li><a href="#">О</a></li>
- <li><a href="#">К</a></li>
- <li><a href="#">Н</a></li>
- <li><a href="#">П</a></li>
- <li><a href="#">О</a></li>
- <li><a href="#">О</a></li>
- </ul>
- <form method="" action="">
- <a href="#"><img src="images/search.png" alt="Поиск" width="15" class="search_img f_right"></a><input type="text" name="topsearch" placeholder="Поиск" class="b3radius">
- </form>
- </div>
- <div id="header_cont">
- <h1><span style="color: #197b30">Print</span>Shop</h1>
- <span class="h1description">Все бренды для вас!</span>
- <div class="header_right f_rigth">
- <div class="header_profile f_left">
- <div class="header_text f_left">
- <b>Nickname</b><br>
- <span>Новых сообщений: 0</span>
- </div>
- <div class="header_shit f_right"><img src="images/avatar.png" width="38" class="b3radius hp_photo"></div>
- <ul>
- <li>ELEMENT</li><br/>
- <li>ELEMENT</li><br/>
- <li>ELEMENT</li><br/>
- <li>ELEMENT</li><br/>
- <li>ELEMENT</li><br/>
- </ul>
- </div>
- <div class="header_buttons f_left">
- <ul>
- <li><a href="#">Правила на сайте</a></li>
- <li><a href="#">Оставить отзыв о сайте</a></li>
- </ul>
- </div>
- </div>
- </div>
- </div>
- <div id="sidebar" class="f_left">
- <div class="sb_header"><i></i>Навигация</div>
- <div class="sb_nav">
- <ul>
- <li><a href="#"><i></i>Element</a></li>
- <li><a href="#"><i style="background-position: "></i>Element</a></li>
- <li><a href="#"><i style="background-position: "></i>Element</a></li>
- <li><a href="#"><i style="background-position: "></i>Element</a></li>
- <li><a href="#"><i style="background-position: "></i>Element</a></li>
- <li><a href="#"><i style="background-position: "></i>Element</a></li>
- <li><a href="#"><i style="background-position: "></i>Element</a></li>
- <li><a href="#"><i style="background-position: "></i>Element</a></li>
- </ul>
- </div>
- <div class="sb_header"><i style="background-position: -15px 0"></i>Опрос</div>../
- <div class="sb_header"><i style="background-position: -30px 0"></i>Статистика</div>
- <div>
- </div>
- </div>
- <div id="content" class="f_rigth">
- </div>
- <div class="clr"></div>
- </div>
- </body>
- </html>
- А вот CSS: * {
- margin: 0;
- padding: 0;
- outline: none;
- }
- body {
- background: url(../images/bg.png) #EAEAEA;
- font: 12px Arial, Tahoma, sans-serif;
- }
- * {
- text-decoration: none;
- }
- h1 {
- font-size: 18px;
- color: #555555;
- padding-top: 18px;
- padding-left: 22px;
- }
- .header_buttons, .f_left ul li {
- float: left;
- margin-left: -8px;
- padding-left: 12px;
- margin-top: -1px;
- }
- .header_right, .f_rigth {
- float: left;
- }
- .f_rigth, .header_shit {
- float: right;
- }
- .f_left, #header_nav ul li, #sidebar, h1, .header_buttons ul li {
- float: left;
- }
- .f_rigth, input[name=topsearch], .search_img, #content {
- float: right;
- }
- .h1description {
- color: #404040;
- font-size: 11px;
- position: absolute;
- left: 22px;
- bottom: 9px;
- }
- .b3radius, .header_buttons ul li {
- border-radius: 3px;
- -webkit-border-radius: 3px;
- -o-border-radius: 3px;
- -moz-border-radius: 3px;
- -ms-border-radius: 3px;
- -khtml-border-radius: 3px;
- }
- #page_align {
- width: 1000px;
- margin:35px auto;
- background: url(../images/pagebg.png); #FFF;
- box-shadow: 0px 1px 3px #DDDDDD;
- -webkit-box-shadow: 0px 1px 3px #DDDDDD;
- -o-box-shadow: 0px 1px 3px #DDDDDD;
- -moz-box-shadow: 0px 1px 3px #DDDDDD;
- overflow: hidden;
- }
- #header{
- height: 105px;
- border-bottom: solid 3px #d5dde8;
- background: #FFF;
- }
- #header_nav {
- height: 35px;
- border-bottom: solid 1px #F1F1F1;
- }
- #header_nav ul {
- list-style: none;
- }
- #header_nav ul li {
- border-right: solid 1px #F1F1F1;
- }
- #header_nav ul li:last-child {
- border-right: none;
- }
- #header_nav ul li a {
- color: #868686;
- line-height: 35px;
- padding:0 7px;
- display: block;
- }
- #header_nav ul li a:hover {
- background: rgba(0,0,0,.05);
- }
- input[name=topsearch] {
- margin-right: 9px;
- height: 25px;
- margin-top: 5px;
- border:none;
- box-shadow: inset 0px 1px 3px rgba(0,0,0,.1);
- background: #F0F0F0;
- padding: 0 5px;
- width: 150px;
- }
- .search_img {
- margin-top: 10px;
- margin-right: 6px;
- }
- #header_cont {
- background: url(../images/top_shadow.png) repeat-x left top -3px;
- position: relative;
- height: 60px;
- }
- .header_right {
- /*outline: solid 1px #000;*/
- margin-top: 16px;
- margin-right: 8px;
- }
- .header_profile {
- height: 48px;
- border-right: solid 1px #f1f2f2;
- padding-right: 5px;
- background: url(../images/header_traingl.png) no-repeat center left;
- position: relative;
- }
- .header_profile:hover {
- background: rgba(0,0,0,.07);
- }
- .header_profile ul {
- list-style: none;
- display: none;
- padding-left: 25px;
- }
- .header_profile:hover ul {
- display: block;
- position: absolute;
- top: 47px;
- background: rgba(0,0,0,.20);
- right: 0px;
- width: 85%;
- color: #FFF;
- text-shadow: 1px 1px 1px rgba(0,0,0,.40);
- }
- .header_profile:hover ul li {
- text-align: right;
- padding: 3px 5px;
- }
- .header_text {
- color: #515151;
- max-width: 195px;
- text-align: right;
- margin-top: 7px;
- margin-right: 9px;
- }
- .header_text span {
- font-size: 10px;
- color: #B6B6B6;
- }
- .hp_photo {
- border: solid 3px #aba8a8;
- margin-top: 2px;
- }
- .header_buttons ul {
- list-style: none;
- padding: 9px;
- }
- .header_buttons ul li {
- background: #8f9CA8;
- margin-right: 15px;
- }
- .header_buttons ul li:hover {
- background: #96a8bf;
- }
- .header_buttons ul li:first-child {
- background: url(../images/header_rules.png) #8f9CA8 no-repeat center left 5px;
- }
- .header_buttons ul li:last-child {
- background: url(../images/header_add.png) #8f9CA8 no-repeat center left 6px;
- }
- .header_buttons ul li a {
- color: #FFF;
- padding: 6px;
- padding-left: 17px;
- display: block;
- }
- #sidebar {
- width: 195px;
- }
- .sb_header {
- background: url(../images/sb_header.png) repeat-x;
- height: 30px;
- color: #FFF;
- line-height: 32px;
- padding-left: 6px;
- }
- .sb_header>i {
- background: url(../images/sbh_sprite.png) no-repeat;
- display: block;
- width: 15px;
- height: 15px;
- float: left;
- margin-top: 8px;
- margin-right: 6px;
- }
- .sb_nav ul {
- list-style: none;
- }
- .sb_nav ul li {
- line-height: 31px;
- background: url(../images/sbn.png);
- padding-left: 11px;
- }
- #content {
- width: 800px;
- height: 400px;
- }
- .clr {
- clear: both;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement