Category "html"

CSS Style Disappears on Form Button Click

I have a side panel menu that is styled how I want, along with a top nav bar. When I press the add button the form gets submitted but the style disappears on th

my html and css not linking when using 'url_for'

I am creating my first project in web application using python flask. Now I'm working with my html, but my css is not linking to my html when running with flask

material-ui TextField disable Browser autoComplete

I use material ui v0.20.0 and I have to prohibit saving the password for a user with TextField. I added props to TextField autocomplete='nope' cause not all the

How to insert image in table

I need create a table with rows ID | Image | Info about image and it's a part of code: function add(form) { table1 = getElementById('mytable'); row1 =

Deprecation Synchronous XMLHttpRequest

I see this error: "[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. Fo

I can't display data from database on web page using Python and Django

I have a big problem. I want to display data from my database( SQLite) on a webpage( the data should be present in an HTML table). I have checked my request wit

how to change color of navbar when scrolling to bottom?

I have 2 probelems. Problem-1: I am trying changing navbar background color when scrolling to bottom. I am trying to add the class but it couldn't override the

Stylesheet not loaded because of MIME-type

I'm working on a website that uses gulp to compile and browser sync to keep the browser synchronised with my changes. The gulp task compiles everything properl

Vue.js 2 - Remove initial margin from body tag

My apologies if this is a stupid question, I'm still pretty new to Vue. I created a Vue (with the command vue init webpack <project-name>) project and sta

How to add class name to an existing tag in php

I have a hidden tag in html code: <p class="class1">something<p> and php code: if(SomeCondition){ select element by DOM and add class "active" so

Pandoc Markdown: ignore text in PDF (but include in HTML) Updated?

This question of how to include text that will appear in html but not pdf has been answered twice (LaTeX multicolumn block in Pandoc markdown and Pandoc markdow

how to change anchor tags position, when I hover over it?

How to change position of anchor tags on hover? I have tried many things like setting position to relative and then using top,bottom,left and right, setting the

Textarea 100% height inside td by css

I want this textarea to be fit inside the table row, by its height & width, so I have used height: 100%; width 100%; on textarea and my decided height width

Javascript and JQuery not working properly in my website project

Js and jquery are not working properly, the menu-toggle button does not work in responsive mode. the carousel (using slick) is not working properly in full page

Make YouTube video autoplay using React

I am trying to make my video autoplay using react. adding autoplay=1 as a parameter doesn't work. Any suggestions?` Here is my code. <div className="vide

Bootstrap 5 Carousel Slide Indicator Not Working

Currently, I am working on a carousel for a revamp of my mom's website, and everything besides the functionality of the slide indicator is working. Whenever you

A click in iOS Safari triggers a "hover state" on element underneath where you tapped

On iOS Safari 11, if I have a <div> positioned over an element that has a :hover effect, and the <div> has an event that makes it disappear when cli

How to add a line break in Rmarkdown code?

I have an rmarkdown document with this: `r {"### MyHeading"}` I would like to add a line break after this (no text, just an empty line). How can I accomplish

Get values in JSON object from html input text and label

I have a HTML by which currently getting the values of input elements in loop in an array. But now I want this in json object with its label. Below is my html

simple task javascript buttons in html

Can someone please help me make a button which prints thank you when clicked? I know there are lots of ways to do this but in my circumstance, I need to use an