Questions tagged [display]

Display refers to a style property in CSS. Common values include - but are not limited to - block, inline-block, inline, table, flex, none.

The CSS display property is specified using keyword values. Keyword values are grouped into six value categories:

.element {
  display:  [ <display-outside> | <display-inside> ] | <display-listitem> | <display-internal> | <display-box> | <display-legacy> ;
}
2923 questions
0
votes
1 answer

display doesn't show an element in MaterialUi in breakpoints

I have a box component. I need to hide it if props are false and show if one of them is true. But when props are true, it is hidden. But when I switch to another component and return to those with boxes, it becomes visible.
Festina
  • 327
  • 3
  • 17
0
votes
1 answer

( Uncaught TypeError: Cannot set property 'display' of undefined

function open() { document.getElementsByClassName("nav").style.display='flex';} I have tried several times to display the items but can't resolve it ,I hope someone helps thanks in advance!!
0
votes
3 answers

How to hide multiple videos automatically while one is displayed?

Instead of using display="none"; for each video manually, is there an automatic way to do this? So that I don't have to copy/paste the same code. (P.S. There's 21 videos, going to be hundreds eventually.) function showVideo1() { …
0
votes
1 answer

How to hide element when offscroll in Javascript

I have the following code: document.addEventListener("scroll", inView); function inView() { if (document.getElementById("viewElement").getBoundingClientRect().bottom <= window.innerHeight) { let top =…
Joao Moita
  • 31
  • 2
0
votes
1 answer

Uncaught TypeError: Cannot set display property to 'block' value in JS pagination/filtering project

I'm trying to display a page of 9 students, I want it to show the student list item if it passes the conditional, or does not display it if it doesn't. However, I am getting Uncaught TypeError: Cannot set property 'display' of Undefined @ showpage…
trusaiyan
  • 1
  • 2
0
votes
1 answer

How to fix cursor jumping in inline contenteditable on Android Chrome?

I'm facing a strange issue: On a contenteditable with predefined content in the html, the text cursor jumps back to a certain point whenever you start typing a new word. The location it jumps to is at the end of the original…
0
votes
1 answer

unordered list items with divs not inline

I can't figure out how I would make this list have the items inline. The problem that arises too is that divs with class card need to be blocks but they go to a new line. Here is my HTML:
0
votes
1 answer

how to get a raspberry pi to display the current time

how can I get a raspberry pi 16x2 charter display show the current time in the EST time zone using the "rpi_lcd" library, thank you in advanced
user16052664
0
votes
1 answer

Bottom InfoWIndow with Flutter Google Maps

I want to make something like Google Maps app. When I click a specific pin on the map, it will display a bottom window with general info about the place, as well the option to expand up the info page. Is something like the images: In the first…
Gabriel Arruda
  • 487
  • 5
  • 10
0
votes
1 answer

Display message with Lua

I am making a simple idea generator with Lua and I want it to display a error/notification with the output. Something a little like this: I've tried looking at other posts on stack overflow but the code was too advanced for me to understand. Any…
Seth OwO
  • 3
  • 3
0
votes
1 answer

Loading Screen ReactJS

I'm loading to implement a loading screen using an animation from LottieFiles. I seem to be getting some error, prob a syntax error that I can't resolve. Would really appreciate the help. import "./App.scss" import { useState, useEffect } from…
hoseh
  • 129
  • 1
  • 3
  • 14
0
votes
0 answers

What can i do if something does not display correctly in HTML

can someone please tell me what i can do to check why something in html does not display correctly? Also how to recognize why something is not displaying and explain how why or where the problem can be?
0
votes
1 answer

Getting "natural" display type for HTML elements?

I have a a web page where various fields are shown or hidden by toggling between "display:block" and "display:none". However, I added some extra stuff to the page and discovered that I needed to special-case several tags: TD needs to use…
user1636349
  • 458
  • 1
  • 4
  • 21
0
votes
0 answers

cannot retrieve data from realtime firebase

I want to retrieve data from realtime firebase database into my android studio app. I am using TextView to display the data however it gives me an error. The data from firebase won't display in the TextView. can someone help me with this…
0
votes
1 answer

Mac OS get display profile url or name from Qt 15.2

I am trying to get either the url path to the custom ICC profile or the generic profile name for each monitor in Mac OS from the Qt environment. I have tried the following for the main display, but it returns a null string. In my case, the correct…
Rory
  • 113
  • 8