Category "html"

Display empty XML data node as text message

I am fairly new to xml and I'm having a weird problem with templates. For empty data nodes, instead of displaying a blank space where the data should be, I wan

Dynamically get value of specific element from list of elements with same id

So I'm trying to make a star rating feature and I'm stuck on setting the value dynamically from a variable. I don't want to make it so that the stars are intera

Drag an Element as a window

I have an element that contains a couple of elements and I want that while clicking on the green header of the element it will be dragged with the mouse movemen

How to avoid overflow of a bootstrap card image in card-body?

I am using bootstrap cards and I could manage the card image from overflowing outside the card area but the bottom of the image overflows in the card-body regio

python requests-html Chromium process leaking

My program cannot run thought the entire loop because a leak crashes it before it gets to the end. I have the following script: from requests_html import HTMLSe

Dropdown menu code not quite right on mobile

I have built a menu on this page that is live: https://boys-cry.com/ and it was working fine until I added the mobile background content on a different section

How can I force safari to enable my website javascript?

Recently I've got feedbacks from collegues and friends that some features of a website of mine doesn't work on Apple devices. With some research, I found out th

How to make this onclick go to a dynamic url?

So I have an onclick that directs to a linkedin page here: <li id="toHover" onclick=" window.open('https://www.linkedin.com/in/jvanderkooi/?originalSubdomain

HTML bookmarks : when clicked does not show my vertical Menu

I want to create a web site like this site https://andrewborstein.com/ But in my page when I click the Link it goes to the correct place but the the DIV ge

if i using angularjs function excel upload button function how to write my code

I writed code $scope.updatepricingimport = function(file) { debugger if(file == null || file == undefined || file == "") {

How to send data from a Python file to a GitHub pages html file to display

I want to start a project where you will input something in Python and it will appear on a GitHub pages html file. How would I do this? Would we be able to do t

Recharts 100% width is not working in Nextjs / Reactjs. It is not occupying the entire width and also act like a block

I am using Recharts with Next.js and Tailwindcss, I copied a barchart code snippet in Recharts to create my own barchart too. I have to change the height to asp

how to align center list images

I need to align my li images in center. I have tried style="text-align: center;" in ul component. but it did not work. Thanks in advance. <link rel="styl

Webkit browser fullscreen request changes body colour and removes console

I am currently preparing a website which should switch the full website to fullscreen upon user request. I use the following function: launchFullScreen(document

Align-center for text and item not aligning?

I am trying to align the items in a div (that is within an MUI Select styled component): const SelectStyle = styled(Select)(({ theme }) => ({ width: WIDT

Why CSS file not working in my application? [duplicate]

I'm trying to use .css files in my project but it doesn't work. The directory hierarchy is: /resources/static/css/style.css. In my html file I

getting video length of mov file with no audio error chrome js

Is there an accurate way to determine the length of a .mov file with chrome? On our website we currently use video.onloadedmetadata but it's causing errors. Exa

Setting a title and favicon for non-html files on a website

Is there a way to set a title and favicon for non-html files on a website? For example, a link like https://example.com/files/image-or-something.png. By default

Relative image path not showing image

Why my browser is not showing image even after adding relative path?

quasar Put q-select in q-checkbox

I'm trying to get use "quasar" I want to let the user choose which filtering method to use, then enter the content, and finally set a button to output the selec