css.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Fri, 02 Jul 2010 10:45:36 +0300
changeset 432 9ed9bd59c0fd
parent 387 29f7ca0049c1
child 735 5c437e2d5fe1
permissions -rw-r--r--
Set TMP and TEMP env vars for Cygwin.

-*- 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>