Category "html"

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

How to create multiple HTML elements from an Array?

I have a simple site that is getting a list of books from the Google Books API. I have a separate file called scripts.js that is getting all the book informatio

Getting content that are not wrapped in tags

Here's what I'm dealing with; I don't have control of it. <div id="foo"> <div>etc.</div> <div>etc.</div> (foobar) (<a

Chrome asks if an application should be opened

We have a website that allows the user to download and open a Word file. Chrome started recently opening an annoying popup when the users downloads the Word The

How do I format a header separate from my grid layout?

Not sure if I have to format the Header as part of the grid. I tried placing the body selector before the container tag. Also tried using position absolute in t

Spans with display:none is not showing the space bars in firefox

We had a use case where some spans with display:none is added to our content editable div. So when the user somehow lands on the span and tries to add content,

FontAwesome icons are not showing, Why? (Font-awesome/4.2.0)

Fontawesome icons are not showing up .I want to add them inside the footer .My css and html file's are in the same directory.But the icon's are still invisible.

In Event Propogation, how does the event know when to fire?

In the following code: <div onClick={() => console.log('outer div')}> <div onClick={() => console.log('middle div')}> <div onClick={(

On Selenium WebDriver how to get Text from div with Mark Tag

On Selenium Webdriver, how I can retrieve entire text from div with Mark Tag? I need to verify that the word 'correctly' is present. Example HTML code: <div