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
<p class="text-left">Left aligned text.</p> | |
<p class="text-center">Center aligned text.</p> | |
<p class="text-right">Right aligned text.</p> | |
<p class="text-justify">Justified text.</p> | |
<p class="text-nowrap">No wrap text.</p> | |
http://www.wikihow.com/Align-Something-in-HTML |
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
http://www.w3schools.com/css/tryit.asp?filename=trycss_align_container | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
.center { | |
margin: auto; | |
width: 60%; | |
border: 3px solid #73AD21; |
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
1. Basic structure | |
First of all, we create the basic HTML structure: | |
<div id="wrap"> | |
<div id="header"></div> | |
<div id="nav"></div> | |
<div id="main"></div> | |
<div id="sidebar"></div> | |
<div id="footer"></div> |
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
http://shpargalkablog.ru/2012/04/pozitsionirovaniye-css.html?m=1 |