Jump to content

[SOLVED] Remove text box border


ballouta

Recommended Posts

Hello, i have a simple html form that contains input tags:

				<tr>
					<td width="201" align="center"><b>Quantity you want</b></td>
					<td width="201" align="center"><b>Item Brand</b></td>
					<td width="202" align="center"><b>Description</b></td>
					<td width="202" align="center"><b>Item Number/Code</b></td>
				</tr>
				<tr>
					<td width="201" align="center">
					<input type="text" name="qty1" size="31" dir="ltr"></td>
					<td width="201" align="center">
					<input type="text" name="brand1" size="31" dir="ltr"></td>
					<td width="202" align="center">
					<input type="text" name="desc1" size="31" dir="ltr"></td>
					<td width="202" align="center">
					<input type="text" name="item1" size="31" dir="ltr"></td>
				</tr>

 

I want to hide the border of the text box so it looks like the whie background i am using,

 

many thanks

Link to comment
Share on other sites

Use CSS. In yourhead tag put

 

<style type="text/css" media="all">
.noBor {
	border:0;
}
</style>

 

Use the noBor class in your text box

 

<td width="201" align="center">
<input type="text" name="qty1" size="31" dir="ltr" class="noBor"></td>

Link to comment
Share on other sites

CSS has an itribute called back-ground image. It can be used for this. CSS has a small learning curve but once you learn its full power its amazing!

 

I would suggest playing around with a few of these! http://www.smashingmagazine.com/2006/11/11/css-based-forms-modern-solutions/

 

Keep posting with more questions if you have them

 

Good luck Mate

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.