faqts : Computers : Internet : Web : CSS

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

55 of 61 people (90%) answered Yes
Recently 8 of 10 people (80%) answered Yes

Entry

How do I remove or set the borders to a textbox to invisible? or just remove certain sides of it?

Dec 6th, 2001 09:53
Ben Gordon, Danny Sementilli,


Danny,
In IE this is a fairly simple task, but be aware that NS 4.xx viewers 
will still see the default borders (or worse).  In IE just add this code 
to the input that you want to have no borders style="border: none"  if 
you however only want to remove part of a border it would be 
style="border-top: 0;" or border-bottom: 0 or border-left: 0 or 
border-right: 0 or you can make it the same for all input boxes by 
adding this to the head of the document 
<style>
input{border: none}
</style>
Hope That Helped
Caislander
From the land of Sunshine, Surf & Code