Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

set height of single line textbox?

Status
Not open for further replies.

Microbe

Programmer
Oct 16, 2000
607
AU
Hey Folks,

Using CSS, how can I set the height of a single lined textbox.

I have used

.loginbox {
height: 10px;
}

and it appears OK in DreamweaverMX when designing, but doesn't render properly in FireFox or IE - just looks normal.

Perhaps it can't be done, but I would be surprised. Anyone know?

Thanks in advance

Steve Davis
hey.you AT HaHaHa.com.au

Me? I can't even spell ASP!

NOTE: This sig does not include any reference to voting, stars, or marking posts as helpful as doing so is cause for membership termination
 
works for me in IE6 & firefox 0.9

how about setting font-size instead?



=========================================================
-jeff
try { succeed(); } catch(E) { tryAgain(); } finally { rtfm(); }
 
how bizarre.

Maybe bcause I have it in a <div>.

I will experiment more. Thanks for the response.

Steve Davis
hey.you AT HaHaHa.com.au

Me? I can't even spell ASP!

NOTE: This sig does not include any reference to voting, stars, or marking posts as helpful as doing so is cause for membership termination
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top