1,186,783 questions
-1
votes
0
answers
14
views
Dynamic change of block height
I'm using code that hides content and reveals a button when the page is scrolled down 50px. Clicking the button reveals the same content, and clicking it again hides it.
Here's a demo of my code: ...
-3
votes
0
answers
45
views
ASP Access database query [closed]
On an asp page I have a html form with a text input field ID
<td align="left" width="430"><input TYPE="TEXT" placeholder="Enter value" ID="nayme2&...
0
votes
1
answer
34
views
how to change content-security-policy frame-ancestors for a static webpage using iframes
I have a container webpage A and it has two iframes. First iframe loads a webpage B which has a single url pointing to an external website. When i click this url, it sends message via PostMesssage to ...
-6
votes
3
answers
121
views
Trying to switch between images with a single button using JavaScript [duplicate]
I am trying to switch between 2 images with a single button, with the intention of adding more images.
I click on the button it changes to image2.jpg but when I click again it doesn't change back to ...
0
votes
1
answer
29
views
Flexbox - Size of "div" based on other "div"s
I have the following HTML code:
<div class="page">
<div class="title">VENIAM DEBITIS PERFERENDIS</div>
<div class="content">
<...
0
votes
1
answer
54
views
Configuration generator panel not taking full width on narrow screens
I am working on an open-source documentation website for a scientific tool. The configuration generator webpage has a left panel (form) and right panel (XML preview) that should be side-by-side on ...
-9
votes
0
answers
34
views
What is the difference between id and name attribute in HTML? [duplicate]
In HTML forms, both id and name attributes are used.
What is the actual difference between them and when is each required?
-8
votes
1
answer
42
views
Difference between justify-content and align-items in CSS Flexbox? [duplicate]
I am confused between justify-content and align-items in Flexbox.
Both seem to align elements.
What is the difference and when should each one be used?
-4
votes
0
answers
27
views
Why is h-screen not working inside a parent div in Tailwind CSS? [closed]
I am using Tailwind CSS. I applied h-screen to a div, but it is not taking full screen height when it is inside another div.Why does this happen and how can I fix it?
-1
votes
0
answers
22
views
iOS 26 WKWebView renders same HTML with smaller font size
I have an iOS app that generates and renders a custom HTML document inside a UIWebView.
After updating a device to iOS 26, the same HTML is rendered with noticeably smaller fonts compared to previous ...
Tooling
0
votes
2
replies
32
views
What shall I use for my React Web App back-end
I just began web dev and wanted to launch a few applications. I learnt HTML, CSS and JS well. Got into React, but that's all front-end. I have no idea what to do for backend.
Also, let me tell you I'm ...
0
votes
0
answers
68
views
wkhtmltopdf repeated table headers overlap rows when rows contain long multi-line text columns [closed]
I am converting HTML to PDF using wkhtmltopdf 0.12.6.1 (patched Qt).
The HTML renders correctly in all browsers, but the generated PDF has a layout issue with tables that span multiple pages.
Problem ...
0
votes
2
answers
121
views
Trying to add class to a div on scroll but nothing happens [closed]
What I'd like is for the image inside my div to go from taking up the whole page via absolute position to sitting on the side with another div next to it with no absolute position. So that when you ...
-3
votes
1
answer
55
views
Why doesn’t margin: auto center my fixed-width <div> inside a flex container? [closed]
I expected margin: auto to center my <div> horizontally, but it stays aligned to the left. my writing is:
.container {
display: flex;
}
.box {
width: 200px;
margin: auto;
}
Why isn’t this ...
Advice
0
votes
0
replies
28
views
reuse the index.html in CSR app instead of making multiple identical HTTP requests
context:
I have a classic CSR (client side rendering) webapp that uses vanillaJS and vanJS for reactivity (no NPM).
My index.html is minimal since it contains a dynamic import of a JS module based on ...