RE: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread Hunter, Ray

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



RE: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread Darren Gamble

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




RE: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread Hunter, Ray

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



RE: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread Adam Plocher

CSS Hover example:

style type=text/css
a:link,a:visited,a:active {color: #213C4D; text-decoration: none;}
a:hover {color: #213C4D; text-decoration: underline; }
/style

As for the size of a text field, you can set it with SIZE= but note,
netscape and IE both interpret size VERY differently... Not sure about NS6,
but NS4 will make it a lot larger than IE will.

-Original Message-
From: Hunter, Ray [mailto:[EMAIL PROTECTED]] 
Sent: Monday, March 18, 2002 10:39 AM
To: 'Darren Gamble'; Hunter, Ray; 'Phil Schwarzmann';
[EMAIL PROTECTED]
Subject: RE: [PHP] Two easy HTML/CSS questions


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


Re: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread heinisch

At 18.03.2002  13:18, you wrote:

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.

You´re right, and as others mentioned earlier, this lsit is not
the right place.


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

It can be done with CSS, but as a fast tip
if your text has font size=1 use font size=0 for your text input field.
Test also the variation of font size+0 and -0 sounds silly, but makes 
differences.
As general text field 1 step smaller makes a good job.
But as W3C recommends, try to start CSS, this makes designer´s life much 
easier ;)
HTH Oliver



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Two easy HTML/CSS questions

2002-03-18 Thread David Ford

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