Border to a form

This is a discussion on "Border to a form" within the Web Page Design section. This forum, and the thread "Border to a form are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Feb 7th, 2007, 12:51
New Member
Join Date: Jan 2007
Location: England
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up Border to a form

Hi I've made this form and wondered how I'd get a 1px #A29C60 coloured border to finish it off.
Hope you can help.
Thanx for reading.
Pads


<STYLE>
body,td,legend {
background: #ffffcc ;
color: black;
font-family: tahoma;
font-size: 12px;
}
span.required{
font-size: 13px;
color: red;
}
</STYLE>
<FORM action=mailto:clientname.com method=post encType=text/plain>
<TABLE cellSpacing=0 cellPadding=5 width=520>
<TBODY>
<TR vAlign=bottom>
<TD vAlign=bottom width=150><LABEL for=q0>Business Name</LABEL> </TD>
<TD vAlign=bottom><INPUT id=q0 name=q0_BusinessName> </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=5 width=520>
<TBODY>
<TR vAlign=bottom>
<TD vAlign=bottom width=150><LABEL for=q1>Main Contact</LABEL> </TD>
<TD vAlign=bottom><INPUT id=q1 name=q1_MainContact> </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=5 width=520>
<TBODY>
<TR vAlign=bottom>
<TD vAlign=top width=150><LEGEND>Business Type</LEGEND> </TD>
<TD class=right vAlign=bottom><INPUT id=q9 type=radio
value="Deli Fine Food Shop " name=q9_BusinessType> <LABEL
for="Deli Fine Food Shop ">Deli / Fine Food Shop </LABEL><BR><INPUT id=q9
type=radio value="Hamper Business " name=q9_BusinessType> <LABEL
for="Hamper Business ">Hamper Business </LABEL><BR><INPUT id=q9 type=radio
value="Other Retailer " name=q9_BusinessType> <LABEL for="Other Retailer ">Other
Retailer </LABEL><BR><INPUT id=q9 type=radio value="Wholesaler Disrtibutor "
name=q9_BusinessType> <LABEL for="Wholesaler Disrtibutor ">Wholesaler /
Disrtibutor </LABEL><BR><INPUT id=q9 type=radio value="Catering Hospitality "
name=q9_BusinessType> <LABEL for="Catering Hospitality ">Catering /
Hospitality </LABEL><BR><INPUT id=q9 type=radio value="Food Broker "
name=q9_BusinessType> <LABEL for="Food Broker ">Food Broker </LABEL><BR><INPUT
id=q9 type=radio value=Other name=q9_BusinessType> <LABEL
for=Other>Other</LABEL> <BR></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=5 width=520>
<TBODY>
<TR vAlign=bottom>
<TD vAlign=top width=150><LEGEND>Products of interest</LEGEND> </TD>
<TD class=right vAlign=top><INPUT id=q8 type=checkbox value="Turkish Delight "
name=q8_Productsofinterest[]> <LABEL for="Turkish Delight ">Turkish Delight
</LABEL><BR><INPUT id=q8 type=checkbox value="Sun Dried Tomatoes "
name=q8_Productsofinterest[]> <LABEL for="Sun Dried Tomatoes ">Sun Dried
Tomatoes </LABEL><BR><INPUT id=q8 type=checkbox value="Extra Virgin Olive Oil "
name=q8_Productsofinterest[]> <LABEL for="Extra Virgin Olive Oil ">Extra Virgin
Olive Oil </LABEL><BR><INPUT id=q8 type=checkbox value="Sweet Chestnuts "
name=q8_Productsofinterest[]> <LABEL for="Sweet Chestnuts ">Sweet Chestnuts
</LABEL><BR><INPUT id=q8 type=checkbox value="Bruschettas Tapenades "
name=q8_Productsofinterest[]> <LABEL for="Bruschettas Tapenades ">Bruschettas
&amp; Tapenades </LABEL><BR><INPUT id=q8 type=checkbox
value="Grilled Veg in Oil " name=q8_Productsofinterest[]> <LABEL
for="Grilled Veg in Oil ">Grilled Veg in Oil </LABEL><BR><INPUT id=q8
type=checkbox value="Upcoming Products" name=q8_Productsofinterest[]> <LABEL
for="Upcoming Products">Upcoming Products</LABEL> <BR><INPUT id=q8 type=checkbox
value="All Products" name=q8_Productsofinterest[]> <LABEL for="All Products">All
Products</LABEL> <BR></TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=5 width=520>
<TBODY>
<TR vAlign=bottom>
<TD vAlign=bottom width=150><LABEL for=q11>Contact Number</LABEL> </TD>
<TD vAlign=bottom><INPUT id=q11 name=q11_ContactNumber>
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=5 width=520>
<TBODY>
<TR vAlign=bottom>
<TD vAlign=bottom width=150><LABEL for=q10>E-mail</LABEL> </TD>
<TD vAlign=bottom><INPUT id=q10 name=q10_E-mail> </TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=5 width=520>
<TBODY>
<TR vAlign=bottom>
<TD vAlign=top width=150><LABEL for=q13>Your Message</LABEL> </TD>
<TD vAlign=bottom><TEXTAREA id=q13 name=q13_YourMessage rows=5 cols=30></TEXTAREA>
</TD></TR></TBODY></TABLE>
<TABLE cellSpacing=0 cellPadding=5 width=520>
<TBODY>
<TR vAlign=bottom>
<TD vAlign=bottom width=150></TD>
<TD vAlign=bottom><INPUT type=submit value=Submit name=q7_> <INPUT type=reset value=Reset name=Submit2> </TD></TR></TBODY></TABLE></FORM>
Reply With Quote

  #2 (permalink)  
Old Feb 7th, 2007, 13:29
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Border to a form

Have you tried

Code: Select all
form {
  border: 1px solid #A29C60;
}
Reply With Quote
  #3 (permalink)  
Old Feb 7th, 2007, 13:32
New Member
Join Date: Jan 2007
Location: England
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Border to a form

Where-abouts should I put that in ....
Reply With Quote
  #4 (permalink)  
Old Feb 7th, 2007, 13:44
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Border to a form

In you <style> tag which you be more like

<style type="text/css">

I just created this thread in the Beginner Resources section - [CSS] Customize your form with CSS - you might want to have a look at it.
Reply With Quote
Reply

Tags
border

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i put a border only on a certain side snelll Web Page Design 15 May 28th, 2008 13:30
Apache FOP Border davedran Other Programming Languages 0 Dec 18th, 2006 15:28
td and border issue ltl_dragon Web Page Design 3 May 13th, 2006 14:50
Why only one border? timmytots Web Page Design 1 Nov 30th, 2005 21:32
CSS Border Question! freebirdnz Web Page Design 2 Nov 23rd, 2004 17:51


All times are GMT. The time now is 03:45.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43