Thursday, 9 January 2014

Re: Form select gadgets

On Wed, Jan 08, 2014 at 11:48:38PM +0000, Chris Young wrote:
> Is there any way of adding a down arrow to the form select gadgets,
> maybe using CSS?

Yes. Using the pseudo elements before and after. But NetSurf doesn't
support these yet :) (I've looked into this before)

You might be able to play about with using a background image that's
anchored at the far right, with no repeat. It might require quite a bit
of experimentation though, as making such things work well when the
gadgets can be styled by websites is tricky.

As for rendering it in the core, IIRC these are just normal boxes,
styled with normal CSS: there's no dedicated rendering code to change.

B.

No comments:

Post a Comment