Category "html"

Date input type validation in javascript?

I can't quite figure out how to validate a date input type in javascript. I tried looking on the internet but I just couldnt find anything. I have one field th

Label for Progress Bar not showing MudBlazor

I have a Progress Bar (MudProgressLinear) that is working fine, but it won't show the label i gave it and I can't fix this problem. Here is my Code: <MudProg

Proper way to show drop down on focus with CSS

I'm trying to make a keyboard accessible menu but I can't figure out how to get it to show the the drop down on focus. I have .main-menu li:hover ul, .main-me

protect images from being copied

Im looking for reliable solutions to protect images from being copied.. My customer (photographer) would like to avoid customers copying her pictures without bu

About querySelector() with multiple selectors

I had a situation in which I wanted to focus either an input tag, if it existed, or it's container if it didn't. So I thought of an intelligent way of doing it:

I'm trying to display a number variable on screen after $

I am trying to display a number. The number is in a variable because it can change. I'm trying to make something that displays how much money you have and I als

Socket communication between Android app and web browser

My Android device+app is continuously sending data every few ms, and I'd like to receive it on my web browser application that I'm building with JavaScript/HTML

Why are horizontal scroll bars shown on my website?

I am making a website and a horizontal scroll bar shows. Of course, I can use overflow-x and that will fix all my problems, but I want to know the origin of the

dropdown div hidden when inside table tr

I'm not sure if there is another post similar to this one but I'm hoping this can be a simple fix for someone better as css than me. See the example here: https

dropdown div hidden when inside table tr

I'm not sure if there is another post similar to this one but I'm hoping this can be a simple fix for someone better as css than me. See the example here: https

How to apply the style only if next element has specific class?

Markup: <li class="divider"></li> <li class="active"><a href="#">Home</a> <li class="divider"></li> <li><a h

How to apply the style only if next element has specific class?

Markup: <li class="divider"></li> <li class="active"><a href="#">Home</a> <li class="divider"></li> <li><a h

Bootstrap 3 dropdown menu changing background on submenu focus

I have changed the background colors of my Bootstrap menu, but the background color of the main dropdown item in the list is changing when the submenu (the menu

Images load fine locally, but not on webserver

been looking around here for a bit but still haven't found an answer. Have an issue with a site I'm working on. Site is entirely self contained in a folder. Tr

Google play review scraping changes

Over the past year or so I have created a number of scripts to scrape Android app reviews from Google Play. In the past this was working fine by mimicking the G

Set mouse wheel to horizontal scroll using css

I want to design a horizontal page. When I use mouse wheel it just scrolls content vertically. How can I use horizontal scroll by mouse wheel? Does CSS support

laravel Livewire wire:click not firing the function

I want to do a SPA with laravel livewire, i want to use wire:click to fire a funtion in the component but it not working , excuse me if the code mess its my fir

TikTok embedded video keeps disappearing

I'm trying to embed a TikTok video into my web page, but when the page is loading, I see the video layout for a second before it disappears. This is the code wh

:before && :after pseudo elements not showing Firefox

Firefox is not displaying :after and :before but they do show in Chrome. Firefox & Chrome: Viewing the source directly in Firefox shows the CSS is there:

How to set fit width when embedding pdf in Chrome?

When I embed a pdf to view on Chrome/ Firefox , no matter I set width / set the parameter , it does not change the width of the pdf content, the only thing I ca