Category "html"

Equal height items in a list

I want that all elements in a list be equal height. For this, I am using the jquery.matchHeigh plugin. However, the selected items are not being updated automat

Parsing HTML into sentences - how to handle tables/lists/headings/etc?

How do you go about parsing an HTML page with free text, lists, tables, headings, etc., into sentences? Take this wikipedia page for example. There is/are: fr

WebComponents: how to get the resolved value of a slot in shadow DOM?

I have a web component and I want to adjust the value of its slot. Unfortunately, I am unable to get the resolved value from it. How can I do that? con

Controlling relays through webserver with an arduino and ethernet shield but can't add more than four buttons, HTML page doesn't load

I have a software problem, I'm controlling relays through ethernet shield and arduino. I got a code from the net which works great and i can control the relays

CSS file not linking to HTML

I've recently started learning to code HTML and CSS by hand for the first time since the mid 90s (last time I tried to build a site, Netscape Communicator Gold

How to change current time of a paused html5 video and start playing from that position?

I have a html 5 video on a page like this: <video preload="none" id="movie" poster="http://my_poster_url.com/sourcefile.jpeg" controls> <source i

Center image horizontally within a div

How can I center align (horizontally) an image inside its container div? Here's the HTML and CSS. I have also included the CSS for the other elements of the thu

Programmatically updating a Webshim date doesn't work in IE 8

I'm using an HTML <input type="date"> with a Knockout binding. I'm using Webshim for browsers that don't support the date input type. The native browsers

safari react-parallax-tilt bug

I have strange bug only in safari my header container have position: sticky and when I hover items wrapped in Tilt component and scroll page down this bug happe

Link a .css file in another folder

Imagine that I have a folder "Website" where my files for that website are stored, and another folder with fonts, and that the font folder has more folders for

How to prevent the select tag to auto select the first option?

I want to add a floating placeholder for the select tag. But the select tag is choosing the fist option by default. I don't want to put an extra option without

How to center body on a page?

I'm trying to center the body element on my HTML page. Basically, in the CSS I set the body element to be display: inline-block; so that it is only as wide a

How to add full width background in two column (col-md-6) on bootstrap 3

I would like to ask how to add full width background on two column (col-md-6) in bootstrap 3. Please refer to the image. As you can see in the image there are

How to override the title "ionicons-v5_logos" when I hover over the github-logo provided by ionic

I'm trying to embed the GitHub Logo by ionic (v5) into my project which redirects to the GitHub repository of the project I made. The logo has this annoying t

CSS: Box-Shadow Transition Multiple Shadows

So I have a button with initial shadow set. I want to transition the shadow on hover into another value of shadow. button { height:100px; width:200px

Anagram with JavaScript

const myAnagram = (arr1, arr2) => { let str1 = arr1; let str2 = arr2; let temp1 = []; let temp2 = []; let flag = 0; if (str1.length !== str2.len

JavaScript Form Calculation with Radio Buttons & Textboxes

The jQuery library is not importing correctly and the form is not displaying the answer in the BAC field when clicking on the button. The answer should be rela

Logo (h1) with absolute position to move above navigation on resize

I am creating a website layout which uses a position: absolute for the logo, to allow it to sit over another div below for stylistic reasons. I have been able t

Change color of button with javascript

I'm having trouble changing the color of a button with a simple function, the color doesn't change at all. <html> <head> <meta http-equiv

CSS, how to bring a div to the top of its sibling elements while it's below in the HTML?

I have a div after some other divs and that's why it is not at the exact top of the viewport. But I want to bring it to the top without actually changing its po