Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <!-- Simple table on DIV (HTML) -->
- <HTML>
- <HEAD>
- <META charset="utf-8">
- <TITLE>Table on DIV and CSS</TITLE>
- <link rel="stylesheet" href="table.css">
- </HEAD>
- <BODY>
- <div id="main"> <!-- main page DIV -->
- <div class="table">
- <div class="row">
- <div class="col">
- <p>Table content, row 1, col 1</p>
- </div>
- <div class="col">
- <p>Table content, row 1, col 2</p>
- </div>
- </div>
- <div class="row">
- <div class="col">
- <p>Table content, row 2, col 1</p>
- </div>
- <div class="col">
- <p>Table content, row 2, col 2</p>
- </div>
- </div>
- </div>
- </div>
- </BODY>
- </HTML>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement