Category "html"

Javascript set button active

I have a table of buttons and once it is populated, I am using document.getElementById("btn0").click(); to click the first button. The button is doing what it

Accessibility: how to handle buttons in a table

Given a table, which may have buttons within it, how should these buttons be marked up for accessibility? <table> <tbody> <tr>

How to render html from a @foreach loop in a textarea

Using Laravel 8 livewire, I need to render a list of name ($list) on per line in a textarea. I do this <div class=" border border-red-800 rounded-lg mt-8 p-4

how to fix navbar size to its original

I am trying to make a navbar with dropdown in it. when i added dropdown menu, my navbar's height got big although i commented the dropdown menu code but navbar

Nightwatch JS | Looping/Iterating through Table

I've been working with Nightwatch for a few months now, using the page object method to try and make my tests as modular as possible. I've ran into a block on m

Nightwatch JS | Looping/Iterating through Table

I've been working with Nightwatch for a few months now, using the page object method to try and make my tests as modular as possible. I've ran into a block on m

How to select and click a child div with Puppeteer

I am new to Puppeteer; trying to click on the first div after div with class version-cell create-update. Not all web pages I scrape will have the version-cell c

How can I have Minify/uglify inline JavaScript using Pug?

I am using Pug for a web page that I am building. At the end of a module I have a script. tag (the regular script tag cannot be used because it isn't compatible

R markdown (html_pretty) does not show "not equal" symbol properly

I found that "html_pretty" output does not properly show the unequal math symbol. The following is the minimal reproducible example for it. --- title: "example"

set width contaner to only span content width flex item fixed width and height

how to adjust flex container to only span content width (width of flex items). In this excercise I put 3 flex item (span) in a div container and set width and h

How to send table dropdown select fields to flask

I have a table composed of three columns, a text and two other select fields. When the user chooses an option from the dropdown select, I would like to send the

Trying to zoom on hover of image: Circular image overflowing container

I'm trying to get a circular image to zoom when it's hovered. However, I can't get it to work - the image is overflowing the container. What am I doing wrong?

Replace HTML code with code from another page

I have got two html files, say page1.html and page2.html. In both files I have an article element. Now, on page1.html I would like to replace the content of the

why is my clientwidth/100 different than my width by percent?

I have a small program that when you press down on ArrowDown, the circle should move downwards from its position on screen. The issue I have is that my initial

How to split apart a single list with CSS

I'm trying to use a single unordered list and splitting one of the list elements from the others and putting this one onto the left side and others on the right

Font weight set as normal but is displaying in bold on browser

I have font weight set to normal for .meta, .sender, .to, and .receiver. However, this still shows the text as bold for all the content in the middle of the box

Is it possible to tell if a user is using Apple's voice control speech recognition software on my site?

I checked before asking but couldn't find any answers. I'm working on accessibility fixes on a website and one autocomplete component doesn't work with Apple's

curl lib in php needs html button click

I am trying to open a SAML xml endpoint with the following PHP code: $ch = curl_init(); curl_setopt($ch, CURLOPT_URL,$URL); curl_setopt($ch, CURLOPT

Postfix Algorithm Evaluation in JS

this is what we start with: '7.7+7' The input of the function is an array of strings (original input converted to postfix): 7.7,7,+ then would get fed back into

How to link to a public url from ion-button?

I want to link to a public url where my login is hosted from a button in my app. I know how to link to pages in my app but not sure how to link outside my app.