Skip to content

Instantly share code, notes, and snippets.

@mjuhl
Created October 3, 2011 17:57
Show Gist options
  • Save mjuhl/1259766 to your computer and use it in GitHub Desktop.
Save mjuhl/1259766 to your computer and use it in GitHub Desktop.
Firefox fieldset element rendering bug #1
<!doctype html>
<html>
<head>
<title>Fieldset Issues</title>
<style>
body {
font: 1em/1.5 'helvetica neue', sans-serif;
}
fieldset.scrollable {
border: #ccc 1px solid;
padding: 12px 8px;
width: 200px;
height: 200px;
overflow: auto;
display: block;
}
</style>
</head>
<body>
<form>
<fieldset class="scrollable">
<p>This fieldset has a specific height set, and overflow is set to auto. It should be scrollable.</p>
<p><label>Your Name<input type="text" id="name"></label></p>
<p><label>Comments<textarea id="comments"></textarea></p>
<p><button>Submit</button>
</fieldset>
</form>
</body>
</html>
@mjuhl
Copy link
Author

mjuhl commented Oct 3, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment