All Questions
1,185,441 questions
Score of 0
0 answers
26 views
HTML multipart/form-data form submits correctly except on iOS, where $_POST and $_FILES are empty when a file is attached
I'm facing a platform-specific issue with HTML form submission on iOS that I haven't been able to resolve.
The setup is intentionally simple:
Plain HTML form ( method="POST" , enctype=&...
Score of 0
0 answers
34 views
Global scroll bar shown when element inside an overflow: scroll element extends beneath the bottom of screen
I am trying to prevent a scroll bar from appearing on my website when the width is shrunk. My container, #preview-container, has the property overflow-y: scroll and contains a div, #preview, which has ...
Score of -3
0 answers
121 views
Magic The Gathering card border relief with CSS [closed]
I want to reproduce Magic The Gathering's cards with HTML and CSS, but I don't know how to recreate the card border relief on some of their visual components, such as the creature type:
How to do it? ...
Score of 3
1 answer
96 views
How can I open my game on the user´s mobile device from my website?
I want to open my game on the user´s device when the user visits my website and when the user has already installed my game on his mobile iOS/Android device. How can I open my game on the user´s ...
Score of 1
2 answers
130 views
Adding a sticky menu bar to a scrolling text dialog - text appears above bar
I'm trying to add a traditional solid menu bar to a dialog, but it leaves a gap above through which I can see text as I scroll. I'm OK with the gap provided that text content cannot scroll there. I've ...
Score of -1
2 answers
160 views
JavaScript for a collapsible which expands on click [closed]
I'm making some JavaScript for a collapsible which expands on click using max-height and the active class, but I have no idea what's wrong with my code, I put my <script src="/main.js">...
Score of -5
0 answers
90 views
How can I remove this random part of my website that [closed]
I’m building a Next.js app with a global dark theme, and I’m seeing a strange issue where the page background looks like it has two different dark colors. I defined a single CSS variable for the ...
Score of 0
1 answer
88 views
Unable to define proper CSS attribute for correctly aligning a table DIV within a "Page" (centering horizontally) defined as an all-encompassing DIV
I am trying to build a template for some documentation work I would like to complete. However, I have been unable to identify which of the various "align" properties will make my table &...
Score of 4
1 answer
144 views
Text input stops receiving keyboard events after cancelling beforeunload confirmation in Chrome
Chrome/Edge lose keyboard input after cancelling beforeunload dialog when closing browser with multiple tabs
I'm investigating what appears to be a Chromium-specific issue and would like to know ...
Score of -1
0 answers
99 views
Cursor pointer not changing CSS [closed]
I'm trying to set a custom pointer for my website but it's not working for some reason. I've tried:
a:hover, button {
cursor: url('images/tp-pointer.png');
}
a:hover, button {
cursor: url('...
Score of -3
1 answer
165 views
Having problems with using the hamburger menu
I am trying to build a responsive navigation bar using pure CSS (no JavaScript). I am using the input[type="checkbox"] and label hack to toggle the menu open and closed.
Currently, I can ...
Score of 0
1 answer
72 views
Content Security Policy (CSP) "unsafe-hashes" does not work as expected. Browser expecting different hash
Consider the following single HTML file:
<html>
<head>
<meta http-equiv="Content-Security-Policy" content="script-src 'self' 'unsafe-hashes' 'sha256-5OdtjsKuRneco+...
Score of 0
0 answers
76 views
Low-Res Thumbnail Images on Embedded YouTube Videos In WordPress [closed]
I am trying to get my embedded YouTube thumbnails to use the high res images. Right now they are grainy low res.
The catch here is that I have the embeds inside of an accordion that starts off closed/...
Score of 2
1 answer
109 views
Does a CSS-only <details>/<summary> disclosure widget need aria-expanded for accessibility?
Since <details>/<summary> already has built-in accessibility semantics (the browser exposes an implicit aria-expanded state via the open attribute), do I still need to manually add aria-...
Score of 4
2 answers
154 views
How could I scroll vertically past an item that only accepts horizontal scrolling?
I am sorry if the title sounds confusing (because it is), but I cannot find a way past this problem. I made some divs that are supposed to scroll horizontally on a list, like the code snippet that ...