Category "html"

How to alter styling declared in global style.scss from a child component css and scope it only for that component

I have declared some css styling in global style.css file which is src/style.css in my angular project. In one of my component I want to alter some styling and

How to place an image over iframe using proper css

I am trying to place an image(which is a close button) on iframe at the top-right corner, the iframe and image are loaded from js function in angular, I have pl

Reduce height of mat-flat-button

I have a message board that I want to add delete buttons to, unfortunately the mat-flat-button seems to be doubling the height of the message items. If i set it

JQuery content editable div and text box on submit not sending POST

I have a website where you can edit and format text, then you can save it on to the server. I am using jquery to send the data to a PHP page where it will be sa

Can not follow stack trace

I am debugging my Vue Storefront project, which is based on Nuxt.js The error I currently face is: TypeError: Invalid URL which is not too informative. The Stac

Instascan select camara to scan qr

My website reads QR CODES using the mobile phone. I have used that library https://github.com/schmich/instascan <div class="select"> <label for=

remove line break from boostrap tooltip

I have a span tooltip that displays some information like: name and history. I can separate this information with a <br>, but the tooltip is performing an

is there a way to implement react scroll along with react router dom?

I have a navbar with links that scroll to sections of page using react-scroll. i also have several pages and im using react-router-dom for navigating between pa

How to move "THANK YOU" to center

and this is part of my code <div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true"

Custom Element (HTMLElement) allowed as child of list (<ul> and <ol>)?

I figure this is not allowed: <ul> <my-li> #shadow-root <li> <span>hello!</span> </li> </my-li>

Angular 13 Property does not exist on type 'FormGroup'

Good evening everyone! I'm having a few issues with Angular lately. I'm new to Angular, so I'm encountering lots of errors here and there. Thankfully, I've got

Fullcalendar - Content are badly positioned When a calendar is on a tab

Reduced Test Case Just click on the second tab to display calendar in snippet. document.addEventListener('DOMContentLoaded', function() { var initialLocal

Flip box image not displaying correctly when responsive

I am using Vue (not that it matters as this is a CSS issue I'm sure). I have 3 flip boxes, taken mostly from the w3schools instructions at https://www.w3schools

How should I add an id attribute using Javascript?

I attempted to create a button id when I clicked on using Javascript. Here's something from my code. <div class="DivButton" style="" onclick="divClick()">

Flickity transform issue

Before the holidays my client's site was working fine with the Flickity carousel. But after returning it has completely crashed, but it starts working when I re

Draw rectangle over HTML 5 tag video

I tried to use canvas to draw a rectangle 100 x 100 over the center of the image captured by webcam (using "navigator.mediaDevices.getUserMedia") and HTML 5 tag

Duplicate hidden form with not unique input ID

I have a layout that require to have the same form in 2 different place for mobile and desktop view What I did is to wrap both in a container that hide one or a

Pandas' read_html not reading html tables

I am trying to see if I can use, and only use, Pandas' read_html function to scrape HTML tables from the following website: https://www.baseball-reference.com/t

Getting text from angular input elements in Protractor

The angular Input controls doesn't let me get values directly by using getText() in protractor. <input ng-switch-when="TextBox" ng-if="::!field.uiControlInf

How to connect to a Sqlite db from an HTML file via Javascript

I would like to insert data into a SQlite3 db by pressing a button from an HTML file. In order to achieve this, I wrote a JS script. Unfortunately, when I press