Click to See Complete Forum and Search --> : Inpute


uknowmeim
10-26-2009, 03:35 PM
<input type='text'>

With input i want to be able to print with out the border to show, as if it was flat. I just want the actual text to print and not the box the text is in. How do i do this?

ssystems
10-26-2009, 11:57 PM
<html>
<head>
<style type="text/css">
input.flatTextBox
{
border: 0;
}
</style>

</head>
<body>
<form>
<input type="text" class="flatTextBox" />
</form>
</body>
</html>

uknowmeim
10-27-2009, 03:11 PM
Thank you

savvykms
10-29-2009, 06:25 PM
Or just <input type="text" style="border: none;">

ssystems
10-29-2009, 11:47 PM
Or just <input type="text" style="border: none;">

Definitely works. However, I prefer and suggest avoiding inline styling and scripting. :)