Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [css]

CSS (Cascading Style Sheets) is a representation style sheet language used for describing the look and formatting of HTML (HyperText Markup Language), XML (Extensible Markup Language) documents and SVG elements including (but not limited to) colors, layout, fonts, and animations. It also describes how elements should be rendered on screen, on paper, in speech, or on other media.

css
0 votes
2 answers
41 views

Fill row with fixed max-width elements

When there is free space in the container, the browser increases the width of the elements to fill it. I need the opposite behavior, so that the browser shrinks the width of the elements enough to ...
951's user avatar
  • 1
0 votes
0 answers
32 views

Does having elements in the DOM with `display:none` makes the browser slower?

I am not a good JS programmer and I dont know for sure how to profile this specific case. In a page I have 100 divs (all of them are visible and occupy space in the screen) and below each visible div ...
Samul's user avatar
  • 2,011
-2 votes
0 answers
36 views

How to refer to a CSS file using javascript? [closed]

I want to be able to access and change a css file through a javascript file. I am using tampermonkey and can't edit the css file directly. I've looked up this problem and everyone keeps describing ...
Jackson Boyle's user avatar
0 votes
3 answers
35 views

text-overflow ellipsis doesnt with symbol !!! when using with webkit

i have a css as below div.b { white-space: nowrap; width: 50px; overflow: hidden; text-overflow: ellipsis; border: 1px solid #000000; display: -webkit-box; -webkit-box-orient: vertical; ...
Vo Thanh Tung's user avatar
0 votes
3 answers
32 views

Custom Two Column Layout

I have a problem with my display of two columns in my HTML code. Top part of the two columns: Space on the 1st column, the paragraph on the 2nd column was pushed down due to the image: Here's my ...
Lance Dee's user avatar
-4 votes
0 answers
22 views

Why won't CSS hide this class? [closed]

I have a Shopify powered store and am trying to hide the class "hulk-powered-wrapper" on this page: https://www.palmettowoodshop.com/pages/contact-us Screenshot showing text I want hidden I ...
PWS's user avatar
  • 1
0 votes
0 answers
20 views

WordPress: How can I make a submenu block the content below it?

How can I set my dropdown menu so that it covers whatever content is below it and I can still click the links? I'm creating a page with several menus stacked on top of each other, but when the ...
murph's user avatar
  • 13
-1 votes
0 answers
25 views

About p tag overflowing div tag [closed]

the problem is happening on chrome and edge. but mozilla works fine look p tag is overflowing div tag expected output: what is limitation of my code that the problem is happening on chrome but not ...
Tahsin Ahsan Sarker's user avatar
0 votes
0 answers
22 views

Issues with an element not resizing vertically

I'm making a website layout made to look like the old Windows95 paint window, and I've come across an issue in making the canvas 'window' resizable. It works horizontally, but not vertically. The ...
Luna's user avatar
  • 1
0 votes
0 answers
13 views

84 I am working on selenium automation project using Python. I am getting an error .NoSuchElementException:

from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import ...
Hell King's user avatar
0 votes
0 answers
14 views

How to make two overlapping mat-sliders moveable?

I want to have two overlapping mat-sliders, but when I set it in below way,I'm able to move only second one... <h1>EXAMPLE</h1> <div class="sliders-wrapper"> <mat-...
ruddnisrus's user avatar
0 votes
2 answers
40 views

background-image cover by grandparent width, overflow property doesn't works

Using background-image for pseudo-element, parent overflow:hidden property doesn't affects pseudo-element background-image and don't hide part of it. Where is problem? I want to hide background that ...
ES.'s user avatar
  • 169
0 votes
2 answers
19 views

Flex container not reaching max width before wrapping children

In this snippet, the inner-left element gets a new item added to it every time the Add Item button is clicked. It has a max-width of 50% of the parent width, however the flex items are being wrapped ...
devklick's user avatar
  • 2,469
-3 votes
0 answers
23 views

How to make something save/automatically change 24 hours [closed]

I'm making a website and one of the components is that the text within an element automatically changes every 24 hours, and it stays that. How do I achieve this? I am expecting it to automatically ...
Pranav Tandra's user avatar
0 votes
0 answers
18 views

Linked Stylesheets in Angular: Understanding Inline Inconsistencies

I ran into a problem with how Angular handles styles: With some linked stylesheets, Angular makes them inline on build, but with other linked stylesheets it doesn't. In neither case are any of these ...
Valentin Haakonsson's user avatar

15 30 50 per page