Created
January 16, 2013 14:02
-
-
Save stden/4547309 to your computer and use it in GitHub Desktop.
Вёрстка 10% - 85% - 5% с селекторами
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<style type="text/css"> | |
div { | |
border: 1px #000000 solid; /* Для всех div-ов делаем границу */ | |
} | |
#common_div { | |
height: 600px; | |
width: 100%; | |
} | |
#div1 { | |
height: 10%; | |
} | |
#div2 { | |
height: 85%; | |
} | |
#div3 { | |
height: 5%; | |
} | |
</style> | |
</head> | |
<body> | |
<div id="common_div"> | |
<div id="div1">div #1</div> | |
<div id="div2">div #2</div> | |
<div id="div3">div #3</div> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment