Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-24-2006, 04:27 PM   PM User | #1
fuzzy1
Regular Coder

 
Join Date: Apr 2006
Posts: 311
Thanks: 17
Thanked 0 Times in 0 Posts
fuzzy1 is an unknown quantity at this point
Vertical align input text?

While there appears to be ample head room, the text in
my input boxes is cut off at the bottom of the field (g,y,j etc)
How does one control vertical alignment of input text?

My inputs are defined as follows:

form {
margin:0;
padding:0;
}


input, select {
height:14px;
font-family: sans-serif;
font-size: 10px;
background:#fff;
border:1px solid #bbb;
}
fuzzy1 is offline   Reply With Quote
Old 04-24-2006, 04:34 PM   PM User | #2
fuzzy1
Regular Coder

 
Join Date: Apr 2006
Posts: 311
Thanks: 17
Thanked 0 Times in 0 Posts
fuzzy1 is an unknown quantity at this point
Okay, nevermind! Though I have found no reference to this anywhere,
"text-align:top" does work in IE6 which is all that matters for my purposes.

Thanks anyway!
fuzzy1 is offline   Reply With Quote
Old 04-24-2006, 07:23 PM   PM User | #3
Kravvitz
Senior Coder

 
Join Date: Feb 2006
Location: USA
Posts: 1,013
Thanks: 0
Thanked 0 Times in 0 Posts
Kravvitz is an unknown quantity at this point
"top" is not a valid value for the text-align property. Try using the vertical-align property.
__________________
Learn CSS. | SSI | PHP includes | X/HTML Validator | CSS validator | Dynamic Site Solutions
Java != JavaScript && JScript != JavaScript
Design/program for Firefox (and/or Opera), apply fixes for IE, not the other way around.
Kravvitz is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 08:45 PM.


Advertisement
Log in to turn off these ads.