Horje

How to set Default CSS Settings for HTML <fieldset> Tag

Most browsers will display the <fieldset> element with the following default values:
index.html
Example: HTML
<style>
fieldset {
  display: block;
  margin-left: 2px;
  margin-right: 2px;
  padding-top: 0.35em;
  padding-bottom: 0.625em;
  padding-left: 0.75em;
  padding-right: 0.75em;
  border: 2px groove (internal value);
}
</style>

Output should be:

How to set Default CSS Settings for HTML <fieldset> Tag




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin