Click here to get back home

dropdownlist border and dropdown arrow?

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
dropdownlist border and dropdown arrow? jobs 07-16-2007
Get Chitika Premium
Posted by jobs on July 16, 2007, 12:16 am
Please log in for more thread options


I'm using this to change the border on a bunch of textboxes, however
when applied to a dropdownlist the borders don't get set. Also, is it
possible to change the color of the dropdown button on the the
dropdownlist?

Thanks.

.test
{
        color:#949494;
        font-family:Comic Sans MS;
        border-style:solid;
        border-color:rgb(204,207,194);

scrollbar-face-color: #FFCCCC;
scrollbar-highlight-color: #4B4B4B;
scrollbar-3dlight-color: #646464;
scrollbar-darkshadow-color: #969696;
scrollbar-shadow-color: #C0C0C0;
scrollbar-arrow-color: #090925;
scrollbar-track-color: #051011;

}


Posted by Chris F.A. Johnson on July 16, 2007, 12:40 am
Please log in for more thread options


On 2007-07-16, jobs wrote:
> I'm using this to change the border on a bunch of textboxes, however
> when applied to a dropdownlist the borders don't get set. Also, is it
> possible to change the color of the dropdown button on the the
> dropdownlist?
>
> Thanks.
>
> .test
> {
>         color:#949494;
>         font-family:Comic Sans MS;
>         border-style:solid;
>         border-color:rgb(204,207,194);
>
> scrollbar-face-color: #FFCCCC;
> scrollbar-highlight-color: #4B4B4B;
> scrollbar-3dlight-color: #646464;
> scrollbar-darkshadow-color: #969696;
> scrollbar-shadow-color: #C0C0C0;
> scrollbar-arrow-color: #090925;
> scrollbar-track-color: #051011;
>
> }


According to the validator, you are using non-existent attributes:

        .test         Property scrollbar-face-color doesn't exist : #ffcccc
        .test         Property scrollbar-highlight-color doesn't exist : #4b4b4b
        .test         Property scrollbar-3dlight-color doesn't exist : #646464
        .test         Property scrollbar-darkshadow-color doesn't exist : #969696
        .test         Property scrollbar-shadow-color doesn't exist : #c0c0c0
        .test         Property scrollbar-arrow-color doesn't exist : #090925
        .test         Property scrollbar-track-color doesn't exist : #051011



--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)

Posted by Neredbojias on July 16, 2007, 3:08 am
Please log in for more thread options


Well bust mah britches and call me cheeky, on Mon, 16 Jul 2007 04:16:26 GMT
jobs scribed:

> I'm using this to change the border on a bunch of textboxes, however
> when applied to a dropdownlist the borders don't get set. Also, is it
> possible to change the color of the dropdown button on the the
> dropdownlist?

Might be. I dunno for sure. Where's the url?

> Thanks.
>
> .test
> {
> color:#949494;
> font-family:Comic Sans MS;
> border-style:solid;
> border-color:rgb(204,207,194);
>
> scrollbar-face-color: #FFCCCC;
> scrollbar-highlight-color: #4B4B4B;
> scrollbar-3dlight-color: #646464;
> scrollbar-darkshadow-color: #969696;
> scrollbar-shadow-color: #C0C0C0;
> scrollbar-arrow-color: #090925;
> scrollbar-track-color: #051011;

Tsk, tsk. "Scrollbar-shadow-color" indeed! That's ie crap, not valid css.
If you _really_ want to use that baloney at least put it in an ie comment.

--
Neredbojias
A self-made man who worships his creator

Posted by Jukka K. Korpela on July 16, 2007, 7:25 am
Please log in for more thread options


Scripsit jobs:

> I'm using this to change the border on a bunch of textboxes, however
> when applied to a dropdownlist the borders don't get set. Also, is it
> possible to change the color of the dropdown button on the the
> dropdownlist?

The IE-specific settings that you use aren't supported even by IE for the
visual rendering of <select> elements. You might try to circumvent this by
using a set of radio buttons instead, wrapping them inside a fieldlist or
div element and setting various properties for it, so that you get something
that resembles a dropdownlist.

It's not worth doing, though. First, by messing around with scrollbar
settings, you mess up the browser's interface. Second, you are most probably
(ab)using <select> as a poor surrogate for a list of links.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/


Similar ThreadsPosted
Show right arrow character in Mozilla and Opera? July 19, 2004, 2:34 pm
Vertical scroll bar with missing bottom arrow? July 22, 2004, 8:04 pm
How can I display a right arrow in IE aligned vertically in the middle? October 16, 2005, 9:39 am
I need "Select"(size=1) to show scrollbar when clicking down arrow August 16, 2007, 2:49 am
I need "Select"(size=1) to show scrollbar when clicking down arrow August 16, 2007, 2:50 am
Customizable dropdown menus? February 2, 2008, 10:24 pm
select an item on a dropdown list July 27, 2005, 9:35 am
Dropdown menu javascript menus a bad choice? July 22, 2005, 10:06 pm
Table border (outside only) August 6, 2004, 8:16 am
Help pls, mystery border February 12, 2005, 12:06 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap