CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 31st, 2003, 11:36 AM
icaam icaam is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Argentina
Posts: 115 icaam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 46 m 26 sec
Reputation Power: 5
Send a message via MSN to icaam
Question <SELECT> element using full CSS ???

Hi all,

This is my first post as I just discovered this site so... hello everyone.

I am developing a site using PHP and the style is given by a .css file. I have the following css selector for the input elements but this class doesn't work with <SELECT> elements... what can I do? I want everything to look the same.
Code:
input.inputinfo {
	color : Black;
	font-size : 10px;
	font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-style : normal;
	font-variant : normal;
	font-weight : normal;
	border-style : solid;
	border-width : 1px;
	border-color : #cccccc;
}


Thanks in advanced
__________________
icaam

Reply With Quote
  #2  
Old December 31st, 2003, 01:04 PM
nolachrymose nolachrymose is offline
The Forest
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2002
Posts: 321 nolachrymose User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Change this:

Code:
input.inputinfo {


...to this:

Code:
input.inputinfo, select.inputinfo {


Or really, you just make the rules apply to the form element.

Hope that helps!

Happy coding!

Reply With Quote
  #3  
Old December 31st, 2003, 01:41 PM
icaam icaam is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Argentina
Posts: 115 icaam User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 46 m 26 sec
Reputation Power: 5
Send a message via MSN to icaam
Thanx a lot... it worked. I also tried placing just the class:

Code:
.inputinfo {


and it worked fine too!

Happy new year!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > <SELECT> element using full CSS ???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway