4 replies [Last post]
despair
Offline
newbie
Last seen: 11 years 22 weeks ago
Joined: 2003-06-23
Posts: 2
Points: 0

on my friends site in the comment section she has text inside each box speciying what to do in them..(click the link to see what im talking about)
how in the world do you do that?

http://ami.leavinghere.com/archives/00000010.htm#comments

insin
insin's picture
Offline
Enthusiast
Belfast, NI
Last seen: 11 years 28 weeks ago
Belfast, NI
Joined: 2003-05-07
Posts: 57
Points: 0

pretexted text in a textbox

<input type="text" value="put your instructions here" />
<textarea>put your instructions here</textarea>

A Pedant Writes...
Into the mountain,
I will fall.

Anonymous
Anonymous's picture
Guru

pretexted text in a textbox

i figured out how to do it for the commenting box,, but for the http/url/name boxes it wont work

plus she told me for the http/url/name she didnt do the textarea, but she did for the comment part

despair
Offline
newbie
Last seen: 11 years 22 weeks ago
Joined: 2003-06-23
Posts: 2
Points: 0

pretexted text in a textbox

forgot to log in,, the guest would be me

dJomp
dJomp's picture
Offline
Enthusiast
York, England
Last seen: 11 years 35 weeks ago
York, England
Joined: 2003-03-23
Posts: 422
Points: 0

pretexted text in a textbox

View the source (in IE : View->Source) and scroll down to the bottom...

<INPUT TYPE=TEXT NAME="newcommentemail" SIZE=30 VALUE="@">

The VALUE attribute is what you're after.

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.