[tw5] Re: Make elements undraggable through CSS?

2018-06-14 Thread hubertgk
OK, I've checked in Chrome and it works as expected. Still no luck on Firefox though. From what I've gathered online, this might be a FF bug because the correct implementation for FF appears well documented otherwise. Thanks again! On Wednesday, 13 June 2018 13:57:58 UTC+1, hubertgk wrote: >

[tw5] Re: Make elements undraggable through CSS?

2018-06-13 Thread hubertgk
Thanks Eric. For some strange reason this still does not work. I'm on FF 60.0.2. Here's my code in full: The element in wikitext: [img width=32 [warning.svg]] CSS: .undraggable img { user-drag: none; -webkit-user-select: none; /* Safari, Chrome */ -webkit-user-drag: none;

[tw5] Re: Make elements undraggable through CSS?

2018-06-13 Thread Eric Shulman
On Wednesday, June 13, 2018 at 5:57:58 AM UTC-7, hubertgk wrote: > > Is there a way to make certain elements undraggable through CSS? > I've so far tried wrapping an image element within a element with a > CSS class pointing to the below code but the image was still draggable. Is > there a