|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
may i know how to remove the border of text field? this is because i don't want the border of text field to be display out in my web page?
|
|
#2
|
|||
|
|||
|
That's an easy one. You can control the border, background color, font size, etc... with css (for sure in IE and to a lesser extent in NS). Try this:
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre><html> <head> <script language="JavaScript"><!-- //--></script> <style><!-- #test { border:5px solid #000000; } --></style> <title>text borders</title> </head> <body> <table><tr><td> <input type=text id=test> </td></tr></table> </body> </html> [/code] You can even specify the which side of the box to effect with border-top:, border-left: etc... The first variable is the width, the second is the border type, the last is the color. The "#" is necessary for the color. To kill the border completey just say: <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre> #test { border:0 } [/code] |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > remove border of textfield |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|