Added generated content for optgroups, fixed option to be display:block

change optgroup inside of option


git-svn-id: svn://10.0.0.236/trunk@41490 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1999-07-28 21:43:43 +00:00
parent 5b842bedfd
commit 417d4dd5ab
2 changed files with 16 additions and 2 deletions

View File

@@ -849,16 +849,23 @@ option.selectedfocus {
}
optgroup {
display:block;
font-style:italic;
font-weight:bold;
}
optgroup > option {
optgroup option {
display:block;
padding-left:20px;
font-style:normal;
font-weight:normal;
}
optgroup:before {
display:block;
content:attr(label);
}
textarea {
vertical-align: bottom;
border: 2px inset #c0c0c0;