~ubuntu-branches/ubuntu/trusty/pisa/trusty

« back to all changes in this revision

Viewing changes to test/test-para-border.html

  • Committer: Bazaar Package Importer
  • Author(s): W. Martin Borgert
  • Date: 2010-02-08 22:02:40 UTC
  • Revision ID: james.westby@ubuntu.com-20100208220240-cwsifrpnqeaug5x5
Tags: upstream-3.0.32
ImportĀ upstreamĀ versionĀ 3.0.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
<head>
 
3
<style type="text/css" media="all">
 
4
.c1 {
 
5
        border-top-style: solid;
 
6
        border-top-width: 3px;
 
7
        padding-top: 0.5em;
 
8
        padding-bottom: 0.5em;
 
9
        padding-left: 0.5em;
 
10
        background-color: pink;
 
11
}
 
12
.c2 { 
 
13
        border-style: solid;
 
14
        border-color: red;
 
15
        border-width: 1px;
 
16
        margin-left: 20px;
 
17
}
 
18
.c3 { 
 
19
        border-style: solid;
 
20
        border-color: red;
 
21
        border-width: 1px;
 
22
        border-left-color: blue;
 
23
        border-bottom-color: magenta;
 
24
        border-right-width: 2px;
 
25
        margin-top: 1em;
 
26
        margin-bottom: 1em;
 
27
        background-color: #ccc;
 
28
}
 
29
</style>
 
30
</head>
 
31
<body>
 
32
<h1 class="c1">Hello World: class=c1</h1>
 
33
<h1 class="c2">Goodbye: class=c2 </h1>
 
34
<h1 class="c3">Mixed colors: class=c3</h1>
 
35
<pre class="c1">Hello World: class=c1</pre>
 
36
<pre class="c2">Goodbye: <span style="background: #ccc">class=c2</span> </pre>
 
37
<pre class="c3">Mixed colors: class=c3</pre>
 
38
</body>
 
39
</html>