Wrox Home  
Search P2P Archive for: Go

  Return to Index  

html_code_clinic thread: CSS and <SELECT>


Message #1 by "Patrick Mair" <pmair@e...> on Tue, 12 Mar 2002 13:39:14 -0700
To follow this up:

There is no way to set borders on the <select> element.

-----Original Message-----
From: Patrick Mair [mailto:pmair@e...]
Sent: March 12, 2002 1:39 PM
To: HTML Code Clinic
Subject: [html_code_clinic] CSS and <SELECT>


Hi,

I have the following style defined:

<style type="text/css">
.form1 { font-family: Verdana, sans-serif;
         	 background-color: #FFFFFF;
		 border-style: solid;
		 border:1px solid #000000;
		 border-bottom:1px solid #000000;
		 border-right:1px solid #000000;
		 border-top:1px solid #000000;
		 border-left:1px solid #000000; }
</style>

I currently apply it to my text input boxes.  I would also like to apply it
to other form elements, like a <SELECT> box, but it's not working properly.
The text becomes Verdana which I want, but the borders on the select box do
not change.  Is there a way to change them to match the above?

Patrick


$subst('Email.Unsub').


  Return to Index