how do I change the height of an <input type="text"> box?

This is a discussion on "how do I change the height of an <input type="text"> box?" within the Web Page Design section. This forum, and the thread "how do I change the height of an <input type="text"> box? are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Feb 23rd, 2007, 19:42
Junior Member
Join Date: Feb 2007
Location: Missouri
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
how do I change the height of an <input type="text"> box?

The input text boxes are too tall, and I want them to be shorter. I've tried so many things now my brain is turning to mush. I managed to change the height of the input boxes in Firefox and Safari, but in IE, I can't get it to budge.

This is the code I've been using that works in Firefox and Safari, but not IE...

Code: Select all
<div class="loginitem_username_input"><input type="text" size="10"/></div>

Code: Select all
input[type="text"] {
	line-height: 10px;
	font-size: 10px;
	maxlength: 20;
	font-size: 10px;
}
thanks for any help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Feb 23rd, 2007, 22:23
Elite Veteran
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: how do I change the height of an <input type="text"> box?

The [type="text"] doesn't work in IE. You either just put input { } or assign a class the certain input elements you want the height to change.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
css, height, input, size, text

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a "tag" system to find relevant "related" pages MrQuestions PHP Forum 3 Mar 20th, 2008 23:06
[SOLVED] Show "Image" Depends On User "Status"? Monie Classic ASP 6 Oct 16th, 2007 01:22
? IS "meta name="robots" content="?" necessary in pages ? Love2Java Starting Out 6 Aug 8th, 2007 13:48
window.opener.document["nameForm"].getElementById("someid").value; doesnt work drpompeii JavaScript Forum 0 Feb 17th, 2007 23:09
Need to build a "Trip" or "Journey Planner" jswebdev PHP Forum 4 Dec 5th, 2005 23:22


All times are GMT. The time now is 21:48.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42