html - Form CSS - magin -


i'm trying put bit of space between question , entry in form. here's code. tried

.signup entry {  margin-top: 30 px;   }   

which thought should work, didn't work.

i tried assigning class questions

so,

=label_tag(:email,"email: ", class: "example") 

and

.example {    margin-bottom: 30px;   } 

thought should work, still didn't.

what doing wrong...?

.col-md-6.col-md-offset-3{:style=>"text-align:full; background: rgba(33, 181, 250,.68); padding-top:0px; padding-bottom: 5px; margin-bottom:10px; color: white; margin-top: 30px;"}   %br   = form_tag('/borrower_response', method:"post", class:"borrower-form")      .row       .col-md-6         =label_tag(:name,"name:",)         =text_field_tag(:name, nil, class: "signup-entry")       .col-md-6         =label_tag(:email,"email: ",)         =text_field_tag(:email, nil, class: "signup-entry")       .row            .col-md-6         =label_tag(:amount,"how looking refinance or borrow?")          =text_field_tag(:amount, nil, class: "signup-entry")       .col-md-6         =label_tag(:current_rate, "what rate pay now, if applicable?")         =text_field_tag(:current_rate, nil, class: "signup-entry")      %br 

update:

ok tried putting %br right before second .row , did trick. that, can't control how space create tho - if knows how use margin-bottom/margin-top properties, etc. that, let me know. thanks!

you using space between values , units: margin-top: 30 px; should margin-top: 30px;.

what is: text-align:full;, should be: left, right or justify


Comments