Re: CSS Selectors: How to style non-styleable?

On 3/10/06, Andrew Fedoniouk <news@terrainformatica.com> wrote:
>
> There are situations when we need to define styles
> of sub-elements of some DOM element.
> Such sub-elements are not parts of the DOM so exsting selectors
> cannot be applicable to them.
>
> Examples:
> - style of scrollbars of some element and their parts.
> - parts of <select> element: buttons, popups, etc.

It's probably a bad idea to try to style elements that you can't
assume are there. Remember, this whole thing is supposed to be
cross-platform, so trying to style buttons and other interaction
elements defined by the OS is a good way to say <bleep> you to
everyone using a platform you didn't design for.

Also I'm not sure it's such a good idea to be manipulating the default
styles of interaction elements (or at least allowing it for the public
at large). Interaction elements are those things that you need to
assure are accessible at all times. Otherwise a bad implementation or
a bad set of CSS could really mess up the user's ability to function
with the browser.

--

Orion Adrian

Received on Saturday, 11 March 2006 21:51:47 UTC