Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions normalize.css
Original file line number Diff line number Diff line change
Expand Up @@ -257,13 +257,15 @@ figure {
========================================================================== */

/**
* Define consistent border, margin, and padding.
* 1. Define consistent border, margin, and padding.
* 2. Remove browser intrinsic min-width.
*/

fieldset {
border: 1px solid #c0c0c0;
margin: 0 2px;
padding: 0.35em 0.625em 0.75em;
border: 1px solid #c0c0c0; /* 1 */
margin: 0 2px; /* 1 */
min-width: 0; /* 2 */
padding: 0.35em 0.625em 0.75em; /* 1 */
}

/**
Expand Down
5 changes: 5 additions & 0 deletions test.html
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,11 @@ <h1>Forms</h1>
<p><label for="t">Textarea</label> <textarea id="t" cols="30" rows="5" >Textarea text</textarea></p>
</fieldset>

<fieldset>
<legend>Fieldset Without min-width</legend>
<p><label>Textarea <textarea cols="30" rows="5" >Textarea text</textarea></label></p>
</fieldset>

<fieldset>
<legend>Clickable inputs and buttons</legend>
<p><input type="image" src="http://lorempixel.com/90/24" alt="Image (input)"></p>
Expand Down