I beg to differ :)
FORM INPUT[type=text] { height: 16px; width: 8em; }
FORM INPUT[type=text]:hover { color: inherit; background-color: yellow; }
Works just dandy.
-d
Hunter, Ray wrote:
>Actually,
>
>If I understand correctly, you want the actual text field box to be the same
>size as the text (as in height)...You can only change the width of the text
>field which is done by size="" and this is based on characters...
>
>Example: <input type="text" name="stuff" size="25">
>
>Then the width of the text field will be 25 characters...This is for the
>text and password fields...
>
>
>Thank you,
>
>Ray Hunter
>Firmware Engineer
>
>ENTERASYS NETWORKS
>
>
>-----Original Message-----
>From: Darren Gamble [mailto:[EMAIL PROTECTED]]
>Sent: Monday, March 18, 2002 11:32 AM
>To: 'Hunter, Ray'; 'Phil Schwarzmann'; [EMAIL PROTECTED]
>Subject: RE: [PHP] Two easy HTML/CSS questions
>
>
>Good day,
>
>Just to clarify, yes, you can set the size of a text field, as well as its
>color, text font, border, and so on. This is also done with css and is
>outside the scope of this mailing list.
>
>============================
>Darren Gamble
>Planner, Regional Services
>Shaw Cablesystems GP
>630 - 3rd Avenue SW
>Calgary, Alberta, Canada
>T2P 4L4
>(403) 781-4948
>
>
>-----Original Message-----
>From: Hunter, Ray [mailto:[EMAIL PROTECTED]]
>Sent: Monday, March 18, 2002 11:31 AM
>To: 'Phil Schwarzmann'; [EMAIL PROTECTED]
>Subject: RE: [PHP] Two easy HTML/CSS questions
>
>
>Answers:
>
>1. Yes you can do it with css. http://www.w3schools.com/css/default.asp
>
>2. The text field area is defined by the browse...You cannot change the size
>of the actual box that is the text field...
>
>
>
>Thank you,
>
>Ray Hunter
>Firmware Engineer
>
>ENTERASYS NETWORKS
>
>
>-----Original Message-----
>From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
>Sent: Monday, March 18, 2002 11:18 AM
>To: [EMAIL PROTECTED]
>Subject: [PHP] Two easy HTML/CSS questions
>
>
>I know I shouldn't be asking these questions on this mailing list but you
>guys are ALWAYS EXTREMELY helpful...
>
>1) I want a a text link to change color when the mouse is hovering over top
>of it. How do I do this? Im sure it's some CSS thingy.
>
>2) Is it possible to make a "text field" smaller when using forms.
>Let's say I'm using font size 1, I want the text field to be just as small
>as the rest of text.
>
>Thanks again!!!!
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php