RetroZilla/webshell/tests/viewer/samples/fieldsets.html

100 lines
2.2 KiB
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<html>
<body>
<div style="background-image: url(bg.jpg)">
<form>
<fieldset style="border:5px groove red">
<legend align="left">align left</legend>
<div>
this is some text in a div tag.
</div>
</fieldset>
<fieldset style="border:5px groove red">
<legend align="center">align center</legend>
<div>
this is some text in a div tag.
</div>
</fieldset>
<fieldset align="right" style="border:5px groove red">
<legend align="right">align right</legend>
<div>
this is some text in a div tag.
</div>
</fieldset>
<fieldset style="border:50px groove red">
<legend align="center">legend</legend>
<div>
border bigger that legend
</div>
</fieldset>
<fieldset style="border:5px groove red">
<legend>legend</legend>
<div style="border: 10px solid white">
div tag with white border around it
</div>
</fieldset>
<fieldset style="border:5px groove red">
<legend>legend</legend>
<div style="margin: 10px; border: 10px solid white">
div tag with border and margin. Notice area frame did not
put a top and bottom margin. This may be a bug.
</div>
</fieldset>
<fieldset style="border:5px groove red">
<legend>legend</legend>
<div style="padding: 10px">
div tag with padding around it
</div>
</fieldset>
<fieldset style="border:5px groove red">
<legend>legend</legend>
<div style="border:5px ridge green; padding: 10px; margin: 10px">
div tag with padding border and margin
</div>
</fieldset>
<fieldset style="border:5px groove red">
<legend style="border:5px ridge green">legend</legend>
<div>
border around the legend.
</div>
</fieldset>
<fieldset style="border:5px groove red">
<legend style="padding:10px; border:30px ridge green">legend</legend>
<div>
very large border and padding around the legend.
</div>
</fieldset>
<fieldset style="border:5px groove red">
<legend style="margin:20px">legend</legend>
<div>
margin around the legend.
</div>
</fieldset>
<fieldset style="background-image: url(raindrops_light.gif); border:5px groove red">
<legend align="right" style="font-size: 20pt; font-style: italic; font-weight: bold">legend</legend>
<div style="color: white">
background image with larger bolded legend
</div>
</fieldset>
<fieldset style="border:5px groove red">
<legend align="center" style="font-size: 24pt">legend</legend>
<div>
Large font on legend
</div>
</fieldset>
</form>
</body>
</html>