Category "html"

How to implement drag and drop so dragging child element will drag whole parent element

I'm working on a media import plugin for wordpress. I'm trying to implement a drag and drop feature to reorder media elements(audio and/or images) that the user

Search word and scroll smoothly on page

My client wants to add a search box on specific pages that will allow their user to search for a question and it will scroll to that text. This way it's easier

View selected values of a form

I'm trying to view the value selected in a radio button. The form is: <form onsubmit="return false;"> <fieldset> <h3>Textos</h3> <la

how to make child in flex go full width?

I've started using flex and I love how it works. I'm using flex layout and I want the btn-group class inside dashboard-body to go full width of the parent. Ri

CSS - Hide Options From Select Menu on iPhone & Safari

So I have a site that is using a select menu for the mobile navigation. I'm needing to hide a few options from the list, and have been able to so on all browser

How to open iframe link in new tab or window

I am using some iframe tags in my html page as shown below: <TABLE border="0" width="900"> <tr valign="top"> <td width="300" ALIGN=c

Dynamic table in HTML using MySQL and php

I've seen many posts about how to build a table in HTML with PHP and Mysql, but my problem is, that I often change the headers of MySQL columns. Is there any wa

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