806,200 questions
Score of 1
2 answers
57 views
Elements in nav bar overlapping on zoom
The elements in my navigation bar overlap when I zoom in.
This is the appearance I want in all zoom levels:
Desired appearance:
Appearance on zoom over 100% on my computer:
I have tried lots of ...
Score of 2
1 answer
51 views
Unwanted background artifacts around ContextMenu and Tooltip despite custom styling
I'm developing a desktop application using JavaFX 21, FXML, and CSS.
I'm trying to customize the appearance of JavaFX popups, particularly ContextMenu and Tooltip, but I'm experiencing an issue where ...
Score of 2
3 answers
78 views
How to center MathML's <math> in Firefox?
I'm struggling trying to center a MathML tag inside my website.
First I tried using padding + translateX() but the result wasn't optimal depending on the screen size.
After that, I thought about ...
Score of 0
3 answers
156 views
How to smoothly animate container width/height when switching between slides with different text content without text reflow jumps?
I'm building an auto-rotating slideshow where each slide has a callout box with different text content. When transitioning between slides, I want the callout box to smoothly resize to fit the new ...
Score of -2
2 answers
150 views
How to ignore or negate CSS class if other class does not exist? [closed]
I have a class legend-symb that defines a box when applied to a <div>.
The contents of the box is defined by other classes added to the same element. The contents class names come from the ...
Score of 0
0 answers
89 views
How to do a vertical line at iOS at safe-area-inset-bottom but no scrollbar at Android?
I want to have a hairline at the full safe-area-inset at iOS.
But no scrollbar at Android.
I prefer a CSS-only solution.
I MAY do this server-level at selective serving.
html, body {
margin: 0;
...
Score of -1
1 answer
106 views
How to make dynamic themes changing many tailwind classes and does it makes sense to do so? [closed]
I'm planning on starting the development of an application using Tailwind CSS. I would like to offer different themes in the app. But not only colour-themes.
Each theme would have different colours, ...
Score of -1
2 answers
105 views
Stylus Extension css important don't work
I have this script in my personal stylus CSS yet it still doesn't work at least for the case with reddit upvote and comment, and search button
* {
border-radius: 0 !important;
}
.button {
...
Score of -1
0 answers
51 views
Why does a CSS Grid item overflow its column when it contains a long URL? [duplicate]
I'm building a responsive two-column layout using CSS Grid. The layout works as expected with normal text, but when one column contains a long URL without spaces, the content can extend beyond its ...
Score of -8
0 answers
121 views
Fitting a family tree to the page width in the style of Burke's Peerage [closed]
I would like to make Template:Lineage on Wikipedia automatically resize the tree to fit the page width using a layout algorithm seen in Burke's Peerage and similar publications, where lines of descent ...
Score of 1
0 answers
67 views
iOS Safari shows blank areas and delays rendering DOM elements during fast scrolling
I'm experiencing a rendering issue in iOS Safari where fast scrolling causes DOM elements to temporarily disappear, exposing the page background. The missing elements only become visible again after a ...
Score of 1
3 answers
225 views
How to align images on the same x
I have tried aligning images using <span>, and it was okay until I added text beneath the images. Now it's one under the other again. I want to achieve something similar to a photo below. Margin ...
Score of 2
1 answer
110 views
Is it possible to update all `text-align: left` rules to justify` while leaving `center` and `right` unchanged?
I use a firefox extension to make changes to the CSS styling of pages. I currently have a global rule setting most normal text to text-align: justify. But this has the occasional issue of forcing ...
Score of 4
1 answer
135 views
Div is expanding to fit content when I don't want it to
I have a <div> that is 95% the width of the screen, but for some reason when I add more content inside (more nav-links) it it expands horizontally to fit the content. I can't seem to find the ...
Score of -4
1 answer
131 views
Borders on html website/background image over smaller content area? [closed]
I've been building my personal website, and I wanted to have an image in the background with the main body/content of my website overlaid on top of it, but I haven't had any luck on it. I've found a ...