Category "html"

Why the second image is not being dropped in the correct position in html and Javascipt?

I have the following code in which is implemented a simple drag and drop with an image. for some reason the first image works the second no, when I drug it insi

Getting image from input file and then add it as a background to a div

I am making a whack the mole game with Vanilla JS and I am trying to make the person whack whatever he wants by letting them upload an image by input file but

How can I read HTML using Selenium in Python when I cannot see the whole page?

I want to use some text in a Smartsheet page/grid, but when I try to access it using Selenium (finding the element by id and copying the text to a variable), th

Highlight corresponding table <TD> cell based on row name and cell value

How would I go about highlighting a cell based on the row name and column value from the first column? I have included a fiddle. $('tr').each(function() {

How to apply classes to dynamically generated content?

In tailwind, there is a feature (which I find very annoying at times) called preflight that turns most of the HTML elements to appear like normal text. And the

Not able to move the button to the right of the page and the text to the center of the page

Not able to move the button to the right of the page and the text to the center of the page even though I have added the necessary CSS ( float right etc.,)

Not able to move the button to the right of the page and the text to the center of the page

Not able to move the button to the right of the page and the text to the center of the page even though I have added the necessary CSS ( float right etc.,)

Bootstrap 5: Close offcanvas Menu after click anchor links

It is about a project created with Bootstrap 5. The problem was that the offcanvas menu stayed open, by clicking an anchor link. To close the menu after click I

Bootstrap 5: Close offcanvas Menu after click anchor links

It is about a project created with Bootstrap 5. The problem was that the offcanvas menu stayed open, by clicking an anchor link. To close the menu after click I

How to create a vertical line on top of the text when it is active?

I want my active element to have a vertical line on top of it and I was given a hint to use either :before or :after in CSS to make this line. However, I'm not

unable to apply different CSS classes to 2 svg images( both are clones of each other)

I have 2 svg images in my html in 2 different divs. On performing some action I am trying to hide one and display another by adding different css classes dynami

monaco-editor - resize property causes editor popups to be hidden

I am using deltaDecorations to show errors in my editor. here is my code: https://gist.github.com/dinager/41578bd658b60cc912a6023f80431810 Here is the result:

Importxml and importhtml don´t give me the data from the table in website that I need (only headers)

I´m trying to take information from a website to googlesheets and I tried with importxml and importhtml, but it´s not working. https://www.fpf.pt/pt

How to make the items in the flexbox align in the center and to the left [duplicate]

Proposed layout I've made a 3 column flexbox and I need all flexbox items to be in the center and the items that are in rows that are not full

wkhtmltopdf conversion: HTML table does not fit within the A4

I created a basic PHP webpage to generate a timesheet of the monthly working hours of employees of a company. The work hours and the other details in the table

Infinite scrolling problem with showing elements

I'm trying to do endless scrolling on my gallery page. I want three columns. The problem is, when I scroll down my wall, elements disappear and appear in weird

eventlistener not functioning when post request is sent

I am trying to add a number indicator to my cart icon that will display the number of items added after the product has been saved to my database. <div class

Style dd and dt tags with bootstrap

I created dt and dd tags in my javaScript. I also have some styling for them in my CSS file. But I am switching to bootstrap, how can I style them? const pr

Showing data called into Select in DIV

I can't speak English well and I use google translate. If there is something you do not understand, please ask. My problem is this: For example, in the code blo

span contenteditable Firefox 93

I'm using the contenteditable attribute as Inputfield for a span and for ussual it worked fine, but now I've the Problem, if I select more than 1 Line in Firefo