HighDots Forums  

css for text box only

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss css for text box only in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Robert Blackwell
 
Posts: n/a

Default css for text box only - 08-01-2003 , 03:28 PM






Is there anyway I can included this in my style but not have it apply toward
form buttons?

input {
font-family: Arial, Helvetica, sans-serif;
font-size: 12 px;
color: #3266cb;
text-decoration: none;
background-color: #FFFFFF;
border-color: #000000;
border-style: dashed;
border-width: 1px;
}



Reply With Quote
  #2  
Old   
darrel
 
Posts: n/a

Default Re: css for text box only - 08-01-2003 , 03:49 PM






Quote:
Is there anyway I can included this in my style but not have it apply
toward
form buttons?
You could give the form button a separate style.

Otherwise, no, inputs include a variety of form elements.

-Darrel







Reply With Quote
  #3  
Old   
Robert Blackwell
 
Posts: n/a

Default Re: css for text box only - 08-01-2003 , 03:56 PM



What's the class for form buttons?



Reply With Quote
  #4  
Old   
Dan Vendel *GOF*
 
Posts: n/a

Default Re: css for text box only - 08-01-2003 , 04:03 PM



Robert Blackwell wrote:

Quote:
Is there anyway I can included this in my style but not have it apply toward
form buttons?
<style type="text/css" >
<!--
..textfield {
font-family: Arial, Helvetica, sans-serif;
font-size: 12 px;
color: #3266cb;
text-decoration: none;
background-color: #FFFFFF;
border-color: #000000;
border-style: dashed;
border-width: 1px;
}
-->
</style>

<input type="text" name="textfield" class="textfield">

--
Dan Vendel - *GOF*
http://www.vendel.info
Contact me directly by clicking here:
http://contact.vendel.info
Formmail tutorial:
http://www.vendel.info/tut/formmail.html
Nested table demonstration:
http://www.vendel.info/tabletut/



Reply With Quote
  #5  
Old   
Robert Blackwell
 
Posts: n/a

Default Re: css for text box only - 08-01-2003 , 04:20 PM



Thanks I didn't think about making it a class instead of for the whole
element.



Reply With Quote
Reply




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.