1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Border-spacing using 'ex' units with a nominal value with a plus sign, +7.5ex</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#propdef-border-spacing">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#separated-borders">
8 <meta name="flags" content="ahem">
9 <meta name="assert" content="Border-spacing can be set to a nominal length (with plus sign) in 'ex' units.">
10 <style type="text/css">
11 div, table
12 {
13 font: 20px Ahem;
14 }
15 div
16 {
17 background: black;
18 height: 1em;
19 left: 15ex;
20 position: relative;
21 top: 7.5ex;
22 width: 7.5ex;
23 }
24 table
25 {
26 border-spacing: +7.5ex;
27 }
28 td
29 {
30 padding: 0;
31 }
32 </style>
33 </head>
34 <body>
35 <p>Test passes if the middle bar is as wide as the space between the first and last bars.</p>
36 <div></div>
37 <table>
38 <tr>
39 <td>XXXXXX</td>
40 <td>XXXXXX</td>
41 </tr>
42 </table>
43 </body>
44 </html>