diff options
Diffstat (limited to 'Base')
-rw-r--r-- | Base/res/html/misc/padding-inline.html | 15 | ||||
-rw-r--r-- | Base/res/html/misc/welcome.html | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/Base/res/html/misc/padding-inline.html b/Base/res/html/misc/padding-inline.html new file mode 100644 index 0000000000..8a67eeb46c --- /dev/null +++ b/Base/res/html/misc/padding-inline.html @@ -0,0 +1,15 @@ +<style> +span { + padding-left: 20px; + padding-right: 40px; + padding-top: 10px; + padding-bottom: 10px; + background-color: red; + border: 3px solid black; + color: white; +} +</style> +<div> + <span>Hello friends!</span> + <span>This span has padding!</span> +</div> diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index 7232e383b7..5e3987c380 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.html @@ -35,6 +35,7 @@ span#loadtime { <p>This page loaded in <b><span id="loadtime"></span></b> ms</p> <p>Some small test pages:</p> <ul> + <li><a href="padding-inline.html">inline elements with padding</a></li> <li><a href="event-bubbling-and-multiple-listeners.html">event bubbling and multiple listeners</a></li> <li><a href="checkbox.html">checkbox</a></li> <li><a href="canvas-rotate.html">canvas rotate()</a></li> |