807,187 questions
0
votes
0
answers
46
views
How to store a light and dark theme with HTML/JS using a dropdown box? [closed]
I am currently working on a light and dark theme for a website that several others and I are designing. Currently, I have an html dropdown box that allows you to select a color theme option, and upon ...
0
votes
0
answers
18
views
How do I add horizontal padding to the scrollbar?
On the picture, you can see what the scrollbar must look like.
It must have a horizontal padding, as if the track with the thumb were 'pushed' inside the scrollbar.
How do I achieve such horizontal ...
-5
votes
0
answers
41
views
Why using JavaScript for changing HTML and CSS? [closed]
My Question is that when i can directly change HTML and CSS properties then why we will change the different properties using JS code like by fetching html elements by ID,class name etc. and css by ...
-3
votes
0
answers
23
views
Issue on iPhone: "Can't open this page" Error — Triggered During Navigation Menu Events [closed]
Issue Summary: I've implemented a three-layer navigation menu on my site. The issue arises after repeated interactions with the menu — the page eventually reloads unexpectedly, and just before the ...
-3
votes
1
answer
40
views
Make images scale within a div element [closed]
I have a [div] that contains a list of paragraphs and a single [img]. I'd like the image to scale itself so that the total content doesn't overflow the [div]. That is, if there's more text, then make ...
0
votes
1
answer
25
views
Bootstrap Dropdown menu doesn't pop out of responsive table
So I am running in to an issue where I have multiple Bootstrap dropdown menus that appear onClick within a Bootstrap responsive table. However these dropdown menus are supposed to overflow the table ...
0
votes
0
answers
11
views
Vue 3 & Vuetify | Trouble getting content of Vuetify tab to scroll when there is overflow
I'm trying to get the content of a Vuetify tab to scroll without statically sizing the parent control.
Here is a Vuetify playground that contains the structure of my project:
Vuetify Playground
You ...
1
vote
1
answer
55
views
Chrome >= 134 css transform performance
Has there been some kind of recent upgrade to how Google Chrome handles scroll events and/or applying transform styles?
Since about Chrome v134 I have the issue that setting a transform/translateY ...
0
votes
1
answer
25
views
How to set viewport width for print media?
I've been doing some testing with print CSS, and getting wildly different results in different browsers. Considering the example below, Safari prints "This viewport is more than 1200px" ...
0
votes
0
answers
5
views
Dynamic LESS Theme Import in Vite Based on Environment Variable
I'm building an application with Vite where the projects' structure is the same but different projects need different color themes. Each project has its own .less file with the same variable names but ...
-4
votes
0
answers
43
views
How to prepare a responsive layout for RIA apps where child elements expand parents, but max to screen size (preferably CSS-only)? [closed]
I'm working on a Rich Internet Application (RIA) and I want to design the layout so that the app always uses 100% of the available screen size (viewport). Some of child element should be able to ...
1
vote
2
answers
52
views
Removing extra spacing on child element on line break [duplicate]
I have a fixed width div containing another div.
I want the internal div as wide as its text inside, unfortunately, when the text breaks to the second line, there is a space on the right that I can't ...
-1
votes
3
answers
43
views
creating a webpage using HTML and CSS [closed]
can one create a webpage using just HTML and CSS?
asking a question to create mine cause I don't know if it is possible to do so. And if it is , would it be that difficult to implement and how can I ...
-2
votes
0
answers
37
views
Problema no Bootstrap Carousel: troca de slide manual faz o carrossel voltar automaticamente para o primeiro item [closed]
Estou implementando um carrossel de cards usando Bootstrap 5.
O carrossel está montado corretamente com:
Um container .carousel-inner contendo múltiplos .carousel-item.
Apenas o primeiro .carousel-...
-1
votes
2
answers
67
views
My margin code keep appearing on my site as text?
I'm new to coding and trying to do some test coding on my site before I dive head first into creating it, the problem that's been keeping me from continuing however is my margin code. It works but it ...