css.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 26 Sep 2010 18:25:42 +0300
changeset 571 53c3a0b7903d
parent 387 29f7ca0049c1
child 735 5c437e2d5fe1
permissions -rw-r--r--
Reading e.

-*- outline -*-

* Emacs.

  $ sudo apt-get install css-mode

* Graphical editor.

  $ sudo apt-get install cssed

* Adding CSS to HTML.

Include in head tag:

  <html>
    <head>
      <link href="path-to.css" rel="stylesheet" type="text/css">
    </head>
    ...
  <html>

or

  <head>
   <style type="text/css">
     h1 {border-width: 1; border: solid; text-align: center}
   </style>
  </head>

To change style in specific tag use:

  <b style="color: blue; font-family: ariel">Welcome!</b>