Skip to content

Instantly share code, notes, and snippets.

@esobchenko
Created July 26, 2011 13:11
Show Gist options
  • Select an option

  • Save esobchenko/1106718 to your computer and use it in GitHub Desktop.

Select an option

Save esobchenko/1106718 to your computer and use it in GitHub Desktop.
font-size defect for select element
<html>
<head>
<style>
select {
border: solid 1px #ccc;
font-size: 1.5em;
}
</style>
</head>
<body>
<select>
<option value="foo">foo</option>
<option value="bar">bar</option>
</select>
</body>
</html>
@esobchenko
Copy link
Copy Markdown
Author

"font-size" CSS option doesn't work without "border" option specified for select element. What the fuck?

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