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 August 14th, 2003, 10:11 AM
Godsmack's Avatar
Godsmack Godsmack is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Location: Ohio
Posts: 7 Godsmack User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 14 sec
Reputation Power: 0
Unhappy Problem with CSS and dropdown list

I have a page which uses CSS in which I put a 1px border around everything to give it a non 3d look. Anyway, I cannot get the dropdown boxes to look like the rest of the fields. Here is the url:

http://test.riegel-online.net/contact/contactus.php

Here is the code I have in the CSS file:

Code:
input {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	border: 1px solid black;
}

textarea {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	border: 1px solid black;
}

select {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: 12px;
	border: 1px solid black;
}

It seems at though the "border: 1px solid black;" is not working for the dropdowns (SELECT). What am I doing wrong?

Randy

Reply With Quote
  #2  
Old August 15th, 2003, 12:29 AM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,541 kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level)kk5st User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 1 h 28 m 48 sec
Reputation Power: 597
Most browsers use the OS widget for the select box, rather than creating it themselves. Opera seems to use its own widget and puts a black border around the dropdown. You might try some tests in Opera to verify the behavior.

cheers,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

Ask a better question, get a better answer.

Reply With Quote
  #3  
Old August 27th, 2003, 06:16 AM
fr0styxm fr0styxm is offline
Still learning...
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Location: Cheshire, UK
Posts: 58 fr0styxm User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I know its a bit late on to reply.. but anyway...

IE; CSS styles for dropdowns wont render on IE.. IE wont change fonts in there either.... only colours
__________________
... shamone! ...

-

Welcome to DevShed!

How to post questions | MySQL Website | PHP Website | Always lewk before posting

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Problem with CSS and dropdown list


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