css.rst
changeset 385 8e648d0fd47f
parent 87 01949ddd2fe5
child 387 29f7ca0049c1
equal deleted inserted replaced
384:e94053d82e26 385:8e648d0fd47f
     6 
     6 
     7 * Graphical editor.
     7 * Graphical editor.
     8 
     8 
     9   $ sudo apt-get install cssed
     9   $ sudo apt-get install cssed
    10 
    10 
       
    11 * Adding CSS to HTML.
       
    12 
       
    13 Include in head tag:
       
    14 
       
    15   <html>
       
    16     <head>
       
    17         <link href="path-to.css" rel="stylesheet" type="text/css">
       
    18     </head>
       
    19     ...
       
    20   <html>
       
    21 
       
    22 or
       
    23 
       
    24   <head>
       
    25    <style type="text/css">
       
    26      h1 {border-width: 1; border: solid; text-align: center}
       
    27    </style>
       
    28   </head>
       
    29 
       
    30 To change style in specific tag use:
       
    31 
       
    32   <b style="color: blue; font-family: ariel">Welcome!</b>
       
    33