Search notes:

CSS property: writing-mode

The writing-mode property can be set to one of the following values:
horizontal-tb top to bottom
vertical-lr, vertical-rl right to left / left to right
sideways-rl, sideways-lr Experimental

Example

HTML Source code

<!DOCTYPE html>
<html>
<head>
  <meta content="text/html;charset=utf-8" http-equiv="Content-Type">
  <title>Example: writing-mode for table headers</title>

<style>

  thead td {
     writing-mode: sideways-lr;
     vertical-align: bottom;
/*   writing-mode: vertical-lr; */
/*   text-orientation: upright */
  }

</style>
</head>
<body>

<table>
  <thead>
    <tr>
      <td></td>
      <td>Flag one</td>
      <td>Flag two</td>
      <td>Flag three</td>
      <td>Flag four</td>
    </tr>
  </thead>
  <tbody>
    <tr>
     <td>Foo</td>
     <td>✓</td><td>✗</td><td>✗</td><td>✓</td></tr>
    <tr>
     <td>Bar</td>
     <td>✗</td><td>✓</td><td>✗</td><td>✓</td>
    </tr>
    <tr>
     <td>Baz</td>
     <td>✓</td><td>✗</td><td>✓</td><td>✗</td>
    </tr>
  <tbody>
</table>

</body>
</html>

See also

The writing-mode property should be used instead of the obsoleted attribute layout-flow.
CSS properties

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...', 1759414191, '216.73.216.42', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/web/CSS/properties/writing-mode(103): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78