Search notes:

CSS: property display and the values table, table-row and table-cell to create tables with divs only

With CSS, it is possible to simulate a html <table> using the attribute display and the values table, table-row and table-cell:
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<title>TODO</title>

<style type="text/css">
  .table {display: table     }
  .row   {display: table-row }
  .cell  {display: table-cell;
          border : 1px solid black;
          padding: 3px}
</style>

</head>
<body onload='main()'>

  <div class='tab'>
    <div class='row'><div class='cell'>abc def   </div><div class='cell'>ghij klmn</div></div>
    <div class='row'><div class='cell'>opqrs tuvw</div><div class='cell'>xyz      </div></div>
  </div>

</body>
</html>
Github repository about-css, path: /properties/display/table-elements.html
See the result of this html on htmlpreview.github.io.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759421685, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/web/CSS/properties/display/table-elements(59): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78