Skip to content

Instantly share code, notes, and snippets.

@benvds
Created August 20, 2009 10:58
Show Gist options
  • Save benvds/170983 to your computer and use it in GitHub Desktop.
Save benvds/170983 to your computer and use it in GitHub Desktop.
formtastic stylesheet changes to place input fields beneath labels
/* @override http://localhost:3000/stylesheets/formtastic_changes.css */
form.formtastic > li {
list-style: none;
margin: 0 0 1em 0;
}
form.formtastic > li > label {
display: block;
}
form.formtastic fieldset label {
display: block;
color: #999;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment