Category "html"

how can i make the field looks mandatory using HTML and CSS

I want to make a field mandatory but the *required in red color is coming below the field name which i want just beside to field name here is the HTML code &l

Using the Same jQuery Function in Separate Buttons

I'm trying to get each button to change color on click. However, I want to separate buttons 1-3 from buttons 4-6 so they are independent from each other. I wa

Twitter URL Preview Card Not Showing Image

I'm trying to get <meta/> tags set up on my website so that social media sites such as Facebook and Twitter show a preview card when posting a link to my

querySelectorAll is not a function

I'm trying to find all oferts in the var articleFirst, but the return message in the console says that "querySelectorAll" is not a function. Why I do get that e

How to center align logo image in Wordpress Theme?

I want to center align logo image of my wordpress theme, I've tried to do so but failed; Here's the CSS for Header Area /* Header ----------------------------

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