87
|
1 |
-*- outline -*-
|
|
2 |
|
|
3 |
* Emacs.
|
|
4 |
|
|
5 |
$ sudo apt-get install css-mode
|
|
6 |
|
|
7 |
* Graphical editor.
|
|
8 |
|
|
9 |
$ sudo apt-get install cssed
|
|
10 |
|
385
|
11 |
* Adding CSS to HTML.
|
|
12 |
|
|
13 |
Include in head tag:
|
|
14 |
|
|
15 |
<html>
|
|
16 |
<head>
|
387
|
17 |
<link href="path-to.css" rel="stylesheet" type="text/css">
|
385
|
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 |
|