Re: Two easy HTML/CSS questions

From: Date: Mon, 18 Mar 2002 20:19:04 +0000
Subject: Re: Two easy HTML/CSS questions
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-89006@lists.php.net to get a copy of this message
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:Darren.Gamble@sjrb.ca] Sent: Monday, March 18, 2002 11:32 AM To: 'Hunter, Ray'; 'Phil Schwarzmann'; php-general@lists.php.net 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:rhunter@enterasys.com] Sent: Monday, March 18, 2002 11:31 AM To: 'Phil Schwarzmann'; php-general@lists.php.net 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:pschwar@jhmi.edu] Sent: Monday, March 18, 2002 11:18 AM To: php-general@lists.php.net 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!!!!


« previous php.general (#89006) next »