Can you style form elements?

I have a small login partial, that is just 2 text_field_tags and a
submit button…

Is there a way to make them a little smaller? This is supposed to be a
small partial right under the navigation bar, but whatever the default
elements are, are pretty large and unattractive unless they would be a
little smaller.

An example of what I’m going for is the login at the top of the
directv page.

Thanks guys

Of course you can. Try something like:

<input type=“text” style=“width:30px;height:10px”;/>

On Apr 20, 2007, at 2:01 PM, AbsolutZero wrote:

directv page.

Thanks guys

Scott F. Walter -

"Opportunity is missed by most people because it is dressed in
overalls and looks like work" - Thomas Edison

Here, in fact is the exact CSS applied to the your example input tag:

#membersLogin input.login {
display:inline !important;
margin:3px 5px 0px 0px;
border:1px solid #CCC;

and your input boxes would have a class of login

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs