Within the usersettings.css.erb file, line numbers are provided for easier reference.
11 #userSettingMain .form-horizontal .controls {
12
13 margin-left: 30px;
14 }
15
16 #user_birthday_3i{
17
18 margin-left: 0px;
19 }
Upon viewing the page, only the first rule is rendered instead of the last one when inspected.
The HTML contains a form with a .form-horizontal class that includes a select_date tag used to choose the user's birthday. Rails generates an element with the ID #user_birthday_3i representing the day number.
What could be causing this discrepancy?