![]() |
help with css
SELECT {
FONT-SIZE: 11px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif; COLOR: #000000; BORDER: 1px solid #000000; BACKGROUND-COLOR: #CFCFCF } I have that for my css on the drop down boxes.. For some reason it wont add the 1 pixel outline.. why? It worked for the input fields. Why won't it work for this. Thanks for the help.. |
I'm not sure, but I don't think you can do that with select boxes...
|
Yes it is possible. Just not that way I don't think.. I want my drop down boxes to match the input field. But I don't want to edit my whole board and find all the select fields and add a class to them. :(
|
the dropdowns are the only ones who you cannot add a solid contour. firefly is correct, there is no way around it for now.
i tried everything.. even complex java scrips.. it wont do it.. for now we have to stick with that ugly look. regards, nakkid. |
If I added a class to every select tag like <select class="select"....
and then I added it the the CSS Style and had like 1 pixel line background, etc. It would work. But I don't want to add a class tag to every one so I was just wondering if I added it to the overall thing what it would do. |
Do a search/replace then on the tepmlates, searching for "<select" and replacing that with "<select class="select"".
|
you will still see the ugly 3D box no matter what you do, because the <option>. if you find a way, let me know.
|
Nah.. It's not the box really.. Just the way the drop down looks.
This works.. It changes the way the box looks (a little) but, when the menu is dropped down is what I wanted to change, thin line and diff background. Thanks FireFly I'll try that. :p Code:
<html> |
ic.. now i understand.. i thought you try to make it look as a solid contour line, instead of the classic 3D look. it's impossible to do it.
|
Dropped down menu can be changed with:
<html> <head> <title>TEST</title> <style type="text/css"> .select{ background-color: #CCCCCC; border: 1px solid #000000; color: #000000; } .option { background-color: #00ff00; color: #0000ff; } </style> </head> <body> <select class="select"> <option> <option class="option">boo <option class="option">boo </select> </body> </html> Errors that are still in it, the top option either should not have the same class, or it will show in the not dropped down box as well. And you can't add a border in the dropped down box. |
All times are GMT. The time now is 11:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|