...

View Full Version : How to make a input box invisible, but showing the text in it?



hvadseth79
12-27-2003, 04:11 PM
I have a javascript that show different text to some pictures. But the text is showed in a input textbox with border that I can't make invisible. How to make the hole box invisible but showing the text?!?!?!?

COBOLdinosaur
12-27-2003, 05:25 PM
You don't need script, just style the HTML:

<input type="text" style="background-color:transparent;border:0px solid white;">

Kylena
12-30-2003, 01:16 AM
Another way is using CSS:


INPUT {
color: #000066;
font : normal 10pt Verdana, Helvetica, Arial;
background : none;
border : none;
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum