<!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" /> <title>Untitled</title> <!-- [if gte IE 7]><!--> <link rel="stylesheet" type="text/css" media="screen, projection" href="css/screen.css" /> <!--<! [endif]--> </head> <body> <div id="wrap"> <div id="header" class="group"> <div id="logo"> LOGO </div> <ul id="nav"> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> </div> <!-- /header --> <hr /> <div class="group"> <div id="main"> Main </div> <!-- /main --> <hr /> <div id="secondary"> Secondary </div> <!-- /secondar --> </div> <!-- /.group --> <hr /> <div id="footer"> Fotter </div> <!-- /footer --> </div> <!-- /wrap --> <!-- c(yats) --> </body> </html>
/* Title: Imported style sheets are used in the project Author: author@yats.com.ua */ /* import stylesheets */ @import url ("reset.css"); @import url ("master.css"); @import url ("ie.css"); /* end import */
/* Title: Reset default browser styles Author: author@yats.com.ua */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td { margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; border: 0; outline: 0; background: transparent; } ol, ul { list-style: none; } blockquote, q { quotes: none; } :focus { outline: 0; } table { border-collapse: collapse; border-spacing: 0; }
/* Title: Master styles for screen media Author: author@yats.com.ua */ body{ font-family: "Helvetica neue", Helvetica,Arial, sans-serif; color: #444; font-size: 62.5%; background: #fff; } /* links */ a:link, a:visited { color: #369; outline: none; } a:hover{ color: #39c; } /* Page structure ------------------------------*/ #wrap{ margin: auto; max-width: 62.5em } #main{ } #secondary{ } #footer{ } /* Header ------------------------------*/ #logo{ } /* nav */ #nav{ } /* Main styles ------------------------------*/ /* Secondary styles ------------------------------*/ /* Footer styles ------------------------------*/ #footer{ } /* Misc. ------------------------------*/ hr, .hide { display: none; } a img { border: none; } /* self-clear floats */ .group:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
/* Title: IE patches Author: author@yats.com.ua */ /* PNG fix */ * html #selector { /* for IE<6 */ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='img/image.png'); background-image: none; background-repeat: no-repeat; background-color: transparent; } /* self-clear floats */ * html .group { /* IE6 */ height: 1%; } *:first-child+html .group { /* IE7 */ min-height: 1px; }
Source: https://habr.com/ru/post/171303/
All Articles