css.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 06 May 2010 22:59:51 +0300
changeset 385 8e648d0fd47f
parent 87 01949ddd2fe5
child 387 29f7ca0049c1
permissions -rw-r--r--
Adding CSS to HTML.

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