Category "html"

How can I style option hover background?

I made select-option. But option:hover does not work. How can I fix it or what do you prefer? Style must be like this My codes <select> <optgrou

Get Elements of a webpage in a webview

I'm trying to get the Elements of a webpage in a webview. These are actually values of an odometer. I'm using sketchware. I've tried getting the class values wi

how to add a table row that have different size and display compare to other row

in this excercise, i create a table with 5 row in tr and i put the last row (1 input and 2 button) in a div class btn. the display of last row is ok but i expec

add div element dynamically in same form

I have a div element which should add itself when the image plus sign is clicked. Can someone please suggest the way to implement it? I am not experienced in we

Set "selected" tag in responsive dropdown and select using Flask and jinja2

I have a flask server which sends a dictionary of options to a dropdown or selection (in form). Here is the Python code: @app.route("/", methods=['GET']) def in

How to change the aspect ratio of image and upload to Imgur?

I have a drop zone where you can drop or select images. And I am using a background-image property to display the image. I am building a post scheduler for Inst

How to set the download file extension for blob data

In my site video use the blob data, when the video was downloaded, the saved filename is the blob name with .txt(4671addc-3ce0-4eb6-b414-ddf3406b1fe5.txt) exten

Using Firebase with npm

I would like to use Firebase in my project with NPM and I installed it using "npm i firebase". This worked fine so I made a new file called "app.js". Here I wou

how to show 1 div out of 4 at a time

So I have a navigation of 4 links, to 4 divs(pages). I want only one page to show at a time, with the id=home showing first once the page loads. To be clearer,

Filter my select options by department and location

I have a problem in my website, I have 2 dropdown selects that are Departments and Locations, my problem is when I select a certain department and start typing

Codeigniter - foreach form input table

I have a foreach loop contained within a form there an input is required. I want to submit these all of input values to the database. Currently it only submits

Popup div hidden at the end of the data table

Currently we are facing an issue related to a div that hides at the end of a data table that we are using in our system. The popup div is working fine from the

"max-width overrides width, but min-width overrides max-width" - what does it mean? [duplicate]

max-width overrides width, but min-width overrides max-width. - MDN The quote is from MDN documentation, but what they really mean? I don't

Canvas putimagedata is sometimes not drawing like expected

I am trying to draw a simple flat line from the left center of my canvas to right side. The starting and ending points will be taken from textbox input. To do t

JavaScript to control play/pause embedded YouTube videos

I need to embed multiple YouTube videos on a website. For each video, I need to set up an external element (such as a paragraph, image, div, etc) that can trigg

Background color going out of the column while using 100%

I am using Bootstrap 5. I have created 2 columns on my page. This is the output I was getting it. Now, I have to show an orange color from end to end of my lef

I would like the header logo and main visual to be aligned vertically

Prerequisites The header logo and main visual are side by side. Expected value I want the header logo and main visual to be aligned vertically.I would like to

Difficulty converting html page with CSS and images to PDF in Django

I am trying to convert an HTML page which uses quite the bootstrap and styling. I tried everything from reportlab to weasyprint to xhtml2pdf and nothing works!

Implementing a Contenteditable-like Vue component

What are good ways to implement a textarea element which contains sub-components like Chips or blobs ? I would like the user for example to be able to insert th

BottomNavigation in MUI cannot resize smaller than 400px if containing 5 items

I have a bottom navigation that contains 5 elements. When you resize the window lower than 400px, the bottom navigation doesn't "squeeze", so to say; it remains