Jump to content


Text input sizes


3 replies to this topic

#1 Edmachine

    Young Padawan

  • Members
  • Pip
  • 44 posts
  • Gender:Male
  • Location:Latvia

Posted 08 September 2007 - 11:24 AM

Hello!

I have a 140x50 square and in it, I need to fit in a login form. I can make the text smaller, but how do I do it with the text boxes? Their size is in the way of making a login button.

Is, and if, there is way to do it, what is it?

Thanks in advance :closedeyes:!

#2 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 08 September 2007 - 12:30 PM

Use CSS.
<style type="text/css">
input { font-size:10px; }
</style>


#3 Edmachine

    Young Padawan

  • Members
  • Pip
  • 44 posts
  • Gender:Male
  • Location:Latvia

Posted 08 September 2007 - 12:36 PM

Thanks! Although it is a bit small, it will do :closedeyes:!

Thank you :P!



#4 Bouzy210

    Jedi In Training

  • Members
  • PipPip
  • 434 posts
  • Gender:Male

Posted 08 September 2007 - 03:21 PM

umm you can always change it to bigger, just put like 12px or whatever in that code.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users