Category "html"

Chart.js canvas resize

In (Android WebView HTML5 canvas error) i posted a question regarding plotting graphs using Graph.js library. The problem i have now is that if i call the funct

Angular MIME issues in Edge

I'm running into an issue with Angular where if I ng serve and deploy on localhost, the page loads fine. However if I use ng build and deploy remotely, I then g

Flex boxs overlapping in direction column

I am trying to make a footer that displays a button on the left, and 3 social media icons on the right and a copyright text below it which I seem to have workin

How to remove white border on lazy loaded images in Safari

I'm adding some native lazy loading to images on a website using the standard loading="lazy" tag. It works fine and does the job I want, but in Safari (desktop

Swap 3 divs and make the selection div go to the center

I have three divs and I want that every single time I click on any div, it will be swapped with a second div which is meant to be at the center. I have tried li

How can I display an random quote from an Javascript Array in html?

im trying to make random quotes that are listed in an array appear on my website on reload however I cant quite get it to work Javascript: function textOfToday

Flask CSS Error after pressing submit button

I have a flask web that makes prediction and returns it. The index page is rendered, the model receives data and makes a prediction and shows it correctly. But

get InputName of div element using js, no jquery please

I have a variable that consists of an HTML tag as below: let customDiv = '<div class="MuiAutocomplete-root" name="ApplyTo">Hello</div>'; I want to

Size of divs in HTML

I want to reduce the size of these divs so that every row contain 3 cards at most. As I change the measurements in the CSS, it gets smaller and smaller. PS I'm

Electron Remote process with user input width and height not working

I am having a problem with using remote windows in electron I am trying to process user input ans use that input to create a new window with a certain width and

Modified row spacing in Bootstrap 5

I have the following markup. <div class="row"> <div class="col-md-12"> <div class="form-group"> <label class="contr

How to design an HTML page that does not crash by reshaping the elements [closed]

I created an animate Android logo bot using HTML, CSS and JavaScript, which is 100% in place in zoom mode, but by resizing the web page, every

Inserting a JavaScript variable as part of an HTML src tag in Django

I thought this would be easier, but clearly I haven't touched JavaScript/HTML in a long time. I am closer with the following code to getting this to work, yet i

problem trying to make div responsive using CSS

I'm new to css / html / js what I'm trying to fix is the images placement in Div, i wanna make it more organized and responsive so when I resize chrome i wont e

I want to be able to append the selected value from a mat-select to the text area below on click

I have been asked to do this project using Angular in work and honestly not touched Angular 2 before. I can do this no issue using jQuery but I am having troubl

react-currency-format is not displaying some of the html elements

I am developing a amazon clone by watching a tutorial. I have created a subtotal component where is used imported and used react-currency-format. inside the cur

Add animation to alternating horizontal panes [duplicate]

I have a working snippet for two horizontal panes that alternate when clicking on the splitter. I need to add a simple animation to the splitt

How to set Default value as null for InputDate field in Blazor?

I have many InputDate fields in my editform of Blazor. When I run my code, by default its set to 01/01/0001. It kinda looks weird to me . I feel it should be se

How to align left and full-height side nav menu

I'm trying to build a sidenavigation menu for the tablet / mobile part of my website. What I can't do is get a left-alignment of the screen, an overlay and full

Change html background to image from video if on mobile

I'm currently developing a website which uses an autoplay video background, however this scales badly on mobile and only sits in the top third of the screen...