1,185,188 questions
Score of 0
0 answers
6 views
Preserve HTML email colours, background images and selectable text in Gmail iOS dark mode, is it possible?
I'm building designed HTML email templates (hero images, coloured backgrounds, styled text). My requirement is that, when viewed in the Gmail app on iOS in dark mode, the email must:
keep its ...
Score of 1
1 answer
48 views
I have a picture with a mapped area that by clicking on it opens a mp4 video in a highslide frame
Now this is perfectly working in Safari on my Mac and also on the DuckDuckGo browser but the video refuses to load in Firefox, Google Chrome,Opera and Brave. The video format is h265 with AAC as ...
Score of 0
0 answers
53 views
Conditional scroll-timeline binding inside CSS Container Queries
I am attempting to bind a CSS Scroll-driven Animation only when an element's container drops below a specific width.
When nesting animation-timeline inside a @container rule, it creates a style ...
Score of -6
0 answers
205 views
What's causing the empty space in this HTML/CSS? [closed]
I accidentally edited something I shouldn't have in my code, and now there is a huge empty space that I have no idea what is making it appear. This empty space was not here before and I really want to ...
Score of 3
3 answers
158 views
How do I make my website change layouts depending on screen size? [duplicate]
I have a website I'm working on that uses bootstrap 5.3 for its layout. Currently, I am trying to figure out how to change my layout when on mobile screens.
Here is the body of my main page:
/* ...
Score of -5
1 answer
120 views
Shall I use a link or an input field for a hamburger menu
What is best practices for a hamburger menu (navigation)?
I have seen two versions of a burger menu.
The first one is a link:
<a href="#menuToggle" class="hamburger" role="...
Score of 2
1 answer
101 views
Expand square flexboxes two dimensionally within bounds
I have a dynamically generated grid that I would like to appear responsive, that is, it should expand up to a reasonable size on the screen while keeping aspect ratio. What I would like is something ...
Score of 0
0 answers
114 views
How do I make it so that the element that holds the canvas stands on top of the button? [closed]
I'm trying to implement a color picker with a specific style in my menu bar, but the canvas element constantly clips down the button:
What it's supposed to look like (taken from the old version of my ...
Score of 2
1 answer
62 views
Adding page breaks in EPUB 3
I am trying to make an EPUB 3 with a file that I exported from InDesign.
Because the EPUB was made through InDesign, each chapter of the book is not in a separate HTML file. That's why I need to add a ...
Score of 0
0 answers
151 views
Rendering problem on Apple MacBook M4 Pro only? [closed]
It would be great if anyone could help confirm this error, which I so far have only seen on my Macbook M4 Pro. Is it just on my laptop or can others confirm it, too?
Problem illustration: Black areas ...
Score of -6
0 answers
156 views
Cards in HTML Bootstrap [closed]
<div align="center">
<div class="row ">
<div class="col-sm ">
<div class="w3-card" style="width:400px;max-...
Score of -4
1 answer
141 views
How to achieve absolute positioning in Angular
I'm working on an Angular app and need to place an element in the corner of another one. I was planning to use CSS positioning as follows:
.extra-large-avatar {
width: 256px;
height: 256px;
...
Score of 0
2 answers
159 views
Can <a> and <input> cooperate without JS?
I'm trying to build a product page where each product has more than one image. When you click on a thumbnail, the main displayed image should change and the clicked thumbnail should get a border to ...
Score of 0
1 answer
126 views
Input value for total number of pages in a REDCap survey?
I would like to build a progress bar for a multipage REDCap survey that uses javascript to draw the current page number and total number of pages values so I can calculate the percent for each page ...
Score of 0
1 answer
174 views
How to create a smooth sliding overlay sidebar in CSS without layout jitter and unwanted horizontal scrollbar?
I am building an overlay sidebar component next to a Leaflet/Mapbox map in a Rails application.
Requirements:
No Map Bounds Recalculation: The sidebar wrapper stays in the layout flow with a static ...