Category "html"

How to get or call Javascript var in HTML object tag or HTML embed tag from parent html page?

I have embedded a codmirror html file by 3 different way such as iframe tag, embed tag and object tag inside another html file on the same server. <!-- The C

how to align the form to the right? [closed]

i am tying to have the h3 aligned with the form so the form goes to the right and the h3 to the left and both of them to be centered ? <

Make <div> element clickable on hover

I'm working on a website (my first) that uses WordPress, but I'm tweaking some little things through HTML and CSS code. I have a bunch of pictures in a grid,

innerHTML disappearing quickly after displaying

I was trying to make a "find and replace" page and my code is working properly except that the resulting string is only displayed for a split second before it d

Vertical image Resize. (Flex or vh)

Hey! Thanks for reading! I've got a web-app login screen. I'm focusing on creating a responsive app-like login page. (no scroll etc) Issue description: With a v

How to change "Choose file" text using Bootstrap 5

Is it impossible change choose file text of input file in Bootstrap 5 using CSS like Bootstrap 4? And how can I add a margin to "No file chosen"?

Finding and editing a WordPress site in cpanel w/o access to WordPress

I have a client who needs his website edited, he is no longer in contact with the original creator of the site, and it seems that the creator used WordPress to

How can I prove that two HTML pages look identical?

E.g., I have this: <pre> sun<br/> &nbsp;&nbsp;&nbsp;&nbsp;mercury <br/> &nbsp;&nbsp;&nbsp;&nbsp;venus

Disable pinch / zoom in IOS Safari while being in fullscreen

I have a webgl game working fine on iPad Safari I can disable system pinch / zoom actions with usual solutions (like this one: disable viewport zooming iOS 10+

Javascript print function not working inside a modal

I want to print data from a pop-up modal on my website, so in the footer of the modal, I added a print button. (The extra divs at the end are from code above):

Why does a .cpp file get wrong extension when downloaded with data download anchor?

I have the following HTML code: <a href="data:text/x-c;charset=utf-8,struct%20example%20%7B%0A%09int%20number%20%3D%205%3B%0A%7D%3B" download="example.cpp

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