diff options
author | James Bursa <james@netsurf-browser.org> | 2002-05-04 21:17:06 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2002-05-04 21:17:06 +0000 |
commit | 91300f840ff90b108658a63bb8fdfe21a8f45c4b (patch) | |
tree | 707f05618433ed3aaf8cf87dc45779da644aefb8 /render/test | |
parent | 50d95fdf6f598dc679c7065cd5ced044d5abcd8e (diff) | |
download | netsurf-91300f840ff90b108658a63bb8fdfe21a8f45c4b.tar.gz netsurf-91300f840ff90b108658a63bb8fdfe21a8f45c4b.tar.bz2 |
[project @ 2002-05-04 21:17:06 by bursa]
Added code to use style attribute of elements.
svn path=/import/netsurf/; revision=14
Diffstat (limited to 'render/test')
-rw-r--r-- | render/test/test1.css | 2 | ||||
-rw-r--r-- | render/test/test1.html | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/render/test/test1.css b/render/test/test1.css index 023a36ed7..dbff4a8b9 100644 --- a/render/test/test1.css +++ b/render/test/test1.css @@ -22,5 +22,3 @@ caption { display: table-caption } div { float: left; width: 90%; } -td { width: 40%; } - diff --git a/render/test/test1.html b/render/test/test1.html index 50e98cc3b..757c51cb6 100644 --- a/render/test/test1.html +++ b/render/test/test1.html @@ -5,11 +5,11 @@ <body> -<h1>Heading</h1> +<h1 style="width: 80%">Heading</h1> <p>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Pellentesque <b>habitant <i>Morbi</i></b> tristique Senectus et Metus et malesuada Fames ac turpis Egestas. (This paragraph has no closing tag.)<p>Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; <b>Pellentesque</b> habitant Morbi tristique Senectus et Metus et malesuada Fames ac turpis Egestas.</p> -<table><tr><td>Cell 1</td><td>Cell 2<p>More cell 2</p></td></tr> +<table><tr><td style="width: 30%; height: 1em">Cell 1</td><td style="width: 50%;">Cell 2<p>More cell 2</p></td></tr> <tr><td>Cell 3</td><td>Cell 4</td></tr></table> <p>Inline text <div>containing a block</div> and more text.</p> |