1,187,983 questions
0
votes
0
answers
47
views
How to show "$" before the number in html input
I am using the following structure (linked to TMS Webcore in Delphi) in the html
<div class="form-group required col-lg-12">
<label id="form.lblCost_PP" ...
0
votes
1
answer
63
views
How to show a custom footer only on the last printed page using pure HTML and CSS?
I need to generate a printed document directly in the browser (Chrome), using only HTML and CSS
My goal is to:
display a custom footer (e.g., a specific string) only on the last printed page.
Here's ...
1
vote
2
answers
65
views
In CSS, is it possible to make elements shrink by given order
My goal is make the text "ChatGPT" shrink to zero 0px first when there is not enough width space then the title text after.
I tried: flex-shrink: 999 https://play.tailwindcss.com/6JLCwJuFMI?...
3
votes
2
answers
72
views
Python (no Django/Flask) - CSS and other static files not being recognized in base template
Apologies for the basic question, but I can't figure out why the CSS sheet called out in my base template's header isn't hooked up when I check my index.html file on http.server.
I'm migrating my site ...
0
votes
0
answers
17
views
Bulk submit a table created with jinja2 template to flask
I am trying to allow my users to upload a csv file, edit the contents in a table, and then save the updated contents to my database. I am able to upload the file, generate the table, and edit its ...
3
votes
1
answer
104
views
Weird behavior when focusing on an element
Clicking on the focus button makes #container move up 1 pixel:
<html>
<body>
<div style="overflow: hidden" id="root">
<div style="margin: -1px" id="container">...
-1
votes
0
answers
64
views
Difficulties with responsiveness [closed]
I'm having trouble with the responsiveness of a landing page. It doesn't adapt well to mobile devices. I'll forward my Style.css and HTML:
Problems: Slide and Forms
I'm working on a responsive ...
0
votes
0
answers
37
views
Native HTML <video><track> subtitle positioning
We have a .vtt file without any line, alignment or positioning information.
In Firefox the subtitles are correctly positioned at the bottom of the video.
In Chrome and its children they are positioned ...
2
votes
2
answers
91
views
Why does CSS display: absolute push the parent content?
I thought CSS display: absolute does not affect the parent layout, but I came across a bug.
const wrapper = document.querySelector('.wrapper');
const content = document.getElementById('content');
...
2
votes
0
answers
52
views
How to get CSS translateX working the same on Chrome and Firefox
I've modified code from this article to create an animated 40px high line with rounded ends, that shrinks from 120px length down to 0 length and then expands back to 120px length.
However I noticed ...
1
vote
2
answers
62
views
Proper way in JavaScript to compare two DOM elements and remove duplicates created by appendChild in loop?
I am new in JavaScript programming and trying to improve my skills. Right now I am attempting to create dynamically updated task list in which user can input the name of their task, date of ...
1
vote
1
answer
39
views
How to avoid CORS issues when creating an Offline Website?
For the purposes of authoring HTML content that is intended to be viewed offline, for example:
when distributed on a USB thumb drive as documentation accompanying a physical product
as promotional ...
2
votes
3
answers
84
views
How to append HTML tag into textarea as plain-text?
I am working on designing a blog from scratch and I'm trying to add the ability to insert <b> </b> into a textarea by clicking a button. However whenever I try to append <b> </b&...
0
votes
1
answer
40
views
Apply contenteditable to selected columns in HTML Table
Is it possible to applay the contenteditable attribute to selected columns in an HTML table?
According to https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/col and https://...
-1
votes
2
answers
44
views
How do I get my image to appear on my webpage?
Im trying to get this basic image to show up on my webpage but
it just wont for some stupid reason. I have my .html file in the same folder as my images folder but idk if what im doing wrong
<!...