1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

[Question] How to increase size of username and pass fields

Discussion in 'HTML & Website Design' started by Polizel, Jun 27, 2010.

  1. #1
    Hello,
    Can anyone here please tell me how can i increase the size of <input type = "text" and <input type="password fields just like in wordpress login page and in twitter login page. Actually i want to mage the whole form elements bigger including lists, buttons, and text fields.
    Thank You in advance!
     
    Polizel, Jun 27, 2010 IP
  2. designmonkey

    designmonkey Peon

    Messages:
    70
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    use input's size property
    <input type="text" size="14" />
    Code (markup):
    or you could use css to set its dimension by assign them to display block
    i.e to set all inputs dimension
     input {
    display:block;
    width:10em;
     }
    Code (markup):
    or to set specific inputs using class,
    
    --html---
    <input class="biginput" ... />
    
    --css---
    .biginput{
    display:block;
    width:300px;
    height:24px;
    }
    
    Code (markup):
     
    designmonkey, Jun 27, 2010 IP
  3. Polizel

    Polizel Peon

    Messages:
    93
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thx a lot can you tell me how we can use styled images instead of standard boxes like in wordpress they have rounded corners of input boxes
     
    Polizel, Jun 27, 2010 IP
  4. designmonkey

    designmonkey Peon

    Messages:
    70
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You could do that using css, set the border to none, set background to your image, then match the dimension with the image.
    If you're looking for more convenient way is using javascript, i.e Jquery. Uniform is one of my favourite to do that. Take a look.
     
    designmonkey, Jun 27, 2010 IP