Hi Everybody,
I'm using several SELECT objects in a form. There are two classes involved, select and select:focus.
The issue is that (when in focus) the SELECT objects will ignore the selector declarations for Border Color, Border Radius, Border Style, Border Width.
What have I missed, or is this behaviour not manageable?
SELECT object issue
Forum rules
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
IMPORTANT NOTE!!
DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.
PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901
MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
SELECT object issue
Many Thanks,
-Paul-
If I wasn't so stupid, I wouldn't have to be so persistent.
-Paul-
If I wasn't so stupid, I wouldn't have to be so persistent.
Re: SELECT object issue
If you need help then please provide a DEMO project, otherwise it will be impossible to guess what you have done.


Re: SELECT object issue
Hi Pablo,
I've attached a demo project:
https://www.dropbox.com/scl/fi/xjypxsp0 ... s605&raw=1
You can see that the drop-down list provided by the SELECT statement ignores the declarations for Border Color, Border Radius, Border Style, Border Width and Box Shadow.
There is a style associated with Select:focus, but that doesn't seem to extend to the drop-down list provided.
Since I have several SELECT options planned, I would hope to manage this detail from the Style Manager. I want to avoid having to sprinkle javascript all over the place.
I've attached a demo project:
https://www.dropbox.com/scl/fi/xjypxsp0 ... s605&raw=1
You can see that the drop-down list provided by the SELECT statement ignores the declarations for Border Color, Border Radius, Border Style, Border Width and Box Shadow.
There is a style associated with Select:focus, but that doesn't seem to extend to the drop-down list provided.
Since I have several SELECT options planned, I would hope to manage this detail from the Style Manager. I want to avoid having to sprinkle javascript all over the place.
Many Thanks,
-Paul-
If I wasn't so stupid, I wouldn't have to be so persistent.
-Paul-
If I wasn't so stupid, I wouldn't have to be so persistent.
Re: SELECT object issue
As far as I know, it is not possible to style the dropdown menu via CSS.
Note that this is not specific to WWB.
It can only be done if you reproduce the select element yourself with JavaScript.
For example, like it is done in the 'dropdown list' object.
Note that this is not specific to WWB.
It can only be done if you reproduce the select element yourself with JavaScript.
For example, like it is done in the 'dropdown list' object.
- BaconFries
-
- Posts: 5867
- Joined: Thu Aug 16, 2007 7:32 pm
Re: SELECT object issue
You can do it like the following but it may not be cross browser compatible see the url or alternativly you can use the Listview object in 'drop list' mode.
See Styling with CSS
https://developer.mozilla.org/en-US/doc ... g_with_css
bootstrap-select
https://developer.snapappointments.com/ ... /examples/
Code: Select all
<style>
select option
{
background: red;
}
</style>
Code: Select all
<style>
select{
background-color: green;
}
option{
color: yellow;
}
</style>
https://developer.mozilla.org/en-US/doc ... g_with_css
bootstrap-select
https://developer.snapappointments.com/ ... /examples/