Category "html"

Keep constraints between two elements when one is getting off screen

I would like an element "1" to go off screen (off red square in my example) and to be followed by an element "2" without having to use anything else than CSS co

Javascript works in codepen but not on browser

const toggleButton = document.getElementsByClassName('navbar-toggle')[0]; const navbarLinks = document.getElementsByClassName('navbar-links'); toggleButton.

Take full screenshot in Chrome

I developed a little chrome extension, which takes a screenshot from the current page. The Problem is, when a part of the current area is covered by e.g. the in

Display text (flexbox) when hover over image

I want to hover over the rotating circle to display the 4 "about" texts. But the issue is that I am using flexbox and when I enter the cursor into the area cove

Price won't show up in the html parsing

I'm trying to get the price of this object into a variable and print it out/put it in a CSV. This is the section of html that I am trying to parse: <span cla

Dropshadow in html canvas using context.putImageData

In a html canvas, I am trying to generate dropshadow on an image with transparant pieces in it. This image is generated by code and then drawn to the canvas usi

Place position fixed item inside d-flex to right hand size

I am trying to make a alphabetic navigation bar at the right hand side of screen. The purpose of this bar is to navigate to the correct country code base on the

How to justify on both sides text into a DIV in HTML5 for being rendered into a PDF by using DinkToPDF

Recently I started using DinkToPdf library to convert a html in an asp.net core 6 project to a PDF file. I started by creating a Proof of Concept cshtml that wi

Why do HTML dropdown selections sent in the form of an email look so unreadable

I'm working on an automated shopping list using HTML only. I've figured out a way to send the dropdown selections to an email draft. I wanted to know why the HT

Add array of objects as elements to existing table td

I have an existing table. I have the td cells displayed as blocks intentionally. :) My goal is to add labels inside each of the td's by creating spans with a sp

HTML tags not showing where they should be

I'm writing an html email and for some reason when I display it onto the browser, the inspector tool shows that the HTML is written differently than I how I wro

how to customize tooltip width in bootstrap

I have a bootstrap tooltip like the following. <i class="fas fa-question-circle" style="color: #f44336; cursor: pointer;" data-toggle="tooltip" data-plac

What kind of streaming protocol is the following technique of FFMPEG and HTML Video tag?

Many people were looking for live streaming solution on a web page. I want to share the following knowledge after doing so many researches and having spent so m

Remove some element in iframe with jquery

In the code below, with jquery, I'd like remove element (and the child 'li') and after that add some code to the Could you tell me how do this ? <iframe id

XPATH issue while looping through tags

I have this piece of code, where I try to download these papers but the loop prints the first element only. import scrapy from urllib.parse import urljoin class

colouring rows based on id of model

i want unique color to the table rows to identify all records of that InternalTaskID (which can be taken from Model) currently I'm doing this... @{

How to make product cards equal height Bootstrap5

How to make product cards equal height? Unfortunately, flex is not working. .product-card { position: relative; padding: 1px; display: -ms-flexbox; disp

Show two different size of image when url is pasted in the textbox

I'm unable to resize the image. Here's my code document.getElementById('btn1').addEventListener('click', function(){ document.getElementById('photo').inne

How to update Brutto based off of VAT Netto and ilosc?

I want to update kwota brutto, wartosc netto and wartosc brutto based off of ilosc kwota netto and vat but it doesn't seem to work. I literally have no clue wha

HTML Write side by side

I want to type words side by side.When I type words, they come one after the other. Here's my problem: problem I want to write this words side by side.Thanks fo