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. http://www.directv.com Thanks guys --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Of course you can. Try something like: <input type="text" style="width:30px;height:10px";/> scott. On Apr 20, 2007, at 2:01 PM, AbsolutZero wrote:> > 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. http://www.directv.com > > Thanks guys > > > >~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Scott F. Walter - http://scottwalter.com "Opportunity is missed by most people because it is dressed in overalls and looks like work" - Thomas Edison --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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;
   width:66px;
   border:1px solid #CCC;
}
On Apr 20, 3:06 pm, Scott Walter
<s...-APWf0AbNa2kIjDr1QQGPvw@public.gmane.org>
wrote:> Of course you can.    Try something like:
>
> <input type="text"
style="width:30px;height:10px";/>
>
> scott.
> On Apr 20, 2007, at 2:01 PM, AbsolutZero wrote:
>
>
>
>
>
> > 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.http://www.directv.com
>
> > Thanks guys
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Scott F. Walter -http://scottwalter.com
>
> "Opportunity is missed by most people because it is dressed in  
> overalls and looks like work" - Thomas Edison
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---
and your input boxes would have a class of login <input type="text" class="login" /> On 4/20/07, Robert Walker <rwalker348-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > 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; > width:66px; > border:1px solid #CCC; > } > > On Apr 20, 3:06 pm, Scott Walter <s...-APWf0AbNa2kIjDr1QQGPvw@public.gmane.org> wrote: > > Of course you can. Try something like: > > > > <input type="text" style="width:30px;height:10px";/> > > > > scott. > > On Apr 20, 2007, at 2:01 PM, AbsolutZero wrote: > > > > > > > > > > > > > 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.http://www.directv.com > > > > > Thanks guys > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Scott F. Walter -http://scottwalter.com > > > > "Opportunity is missed by most people because it is dressed in > > overalls and looks like work" - Thomas Edison > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---