<!doctype html> | |
<html> | |
<head> | |
<style> | |
fieldset > div { border:2px solid skyblue; background-color:#cccccc; -webkit-margin-before:6px; -webkit-margin-after:6px } | |
fieldset { margin:0; vertical-align:bottom; -webkit-logical-width:320px; -webkit-logical-height:80px; display:-webkit-inline-box; -webkit-box-pack: center; -webkit-box-align: stretch; background-color:#dddddd; border:12px solid navy; padding:28px } | |
</style> | |
</head> | |
<body> | |
<fieldset> | |
<legend>Legend</legend> | |
<div>Fieldset Contents</div> | |
<div>More Fieldset Contents</div> | |
</fieldset> | |
</body> | |
</html> |