Category "html"

How to add script to Leadpages?

I have found a UTM Tracking code script that I like to use on my own websites. I will try and explain how it works. A visitor lands on the website: The Link

SVG Dynamic resizing

Does anyone know I can dynamically resize an svg image so it fits within a container?? I find that the images I have overflows. What I want is a way to resize i

Is it possible to access an SQLite database from JavaScript?

I have a set of HTML files and a SQLite database, which I would like to access from the browser, using the file:// scheme. Is it possible to access the database

HTML5 datalist in Android Chrome

I have an HTML5 datalist working in Chrome (desktop) but when using the same input in Android and the latest Chrome, auto-completion no longer works. Is this f

Positioning absolute and stay documentflow

Is there any way in css to position an Element something like absolute (in relation to the parent element), e. g. at the bottom of its parent element, but have

HTML/CSS: Show full size image on click

I have a text + image side by side, and I want a function where the user can click on the image to make it bigger. I'm new to HTML/CSS so I was wondering how I

Finding comments in HTML

I have an HTML file and within it there may be Javascript, PHP and all this stuff people may or may not put into their HTML file. I want to extract all comment

Background not covering full page

My background image is not covering the full page when I type in my nav bar. I have set the background width and height to 100%, which I thought would solve the

What is the use of href="###" in an anchor tag?

I see these lines of code in some professional developer's project: <a href="###"> ... </a> What is the use of three # instead of one?

How do you import a javascript package from a cdn/script tag in React?

I'd like to import this javascript package in React <script src="https://cdn.dwolla.com/1/dwolla.js"></script> However, there is no NPM package,

Facebook Like and Comment Code Script

I needed to get a unique url for each page and adapted a script that I found through the help of other members here. One is for the like button and the other i

Get element height with Vuejs

I want to get the height of a div in order to make the height of another div matching it. I used the method clientHeight, but It doesn't return me the good valu

XPath, how to select a "checkbox" that is a child to an element with a custom content

I have a task that requires using some XPath, the site is http://todolistme.net/ So, I need to select a checkbox: //input[contains(@type, 'checkbox')] But befor

Responsive Design: Everything shrinks when mobile keyboard is active

There are many screen resolutions in browsers nowadays, so using px in my CSS sizes isn't actually a good idea. I adopted and used vh in substitution for px sin

Display block without 100% width

I want to set a span element to appear below another element using the display property. I tried applying inline-block but without success, and figured I could

Update HTML5 canvas rectangle on hover?

I've got some code which draws a rectangle on a canvas, but I want that rectangle to change color when I hover the mouse over it. The problem is after I've dra

How do I make a table scrollable

Does anyone know a vanilla way of making the body of a table scrollable using only html and css? The obvious solution tbody { height: 200px; overflow-

How to assign custom color to progress bar bootsrap 4

Guys i have progressbar: <div class="progress"><div class="progress-bar" style="width:{{a.49}}%">{{a.49}} %</div> </div> How can i as

CSS to draw slant line border [duplicate]

I have not much experience in web designing, I was just trying to write a css to get the out put similar to this Can anyone help me to achi

Dynamically changing the content of: meta property="og:image"

I want to change the main photo in a web page, I just have the url page. So I decided to use the meta written for Facebook sharing. I want to change the image