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
0 answers

uploading image in python flask server and display image in react frontend

I want to upload images to the server by using python flask in a fixed location by using the following code. UPLOAD_FOLDER = 'F:\Coursera\React_Flask\SocialNetwork\Frontend\Api' app.config['UPLOAD_FOLDER'] = UPLOAD_FOLDER _file =…
0
votes
0 answers

Drawing a circle to bitmap display in MIPS

Alright so I am coding MIPS assembly in the MARS IDE. I am trying to draw a circle to the bitmap display with a unit width and height of 8 and a display width and height of 512. I get the general idea and have coded a rectangle. But I was wondering…
0
votes
0 answers

Why is this div being displaced downwards?

Why oh why is the the 'name' div being displaced downwards? Why would it not be fitting inside its container div? I cannot figure out what is going on!? header { width: 100%; height: 100px; background: rgb(46,…
Ant
  • 221
  • 1
  • 3
  • 8
0
votes
1 answer

Gravityforms - Add category mid-radio-button field

I am populating Gravityforms fields using the functions.php from my template and it works like a charm, but I have one field that is ... a challenge. I have been able to populate the choices from my database just fine, but with the functions.php I…
Silvertiger
  • 1,680
  • 2
  • 19
  • 32
0
votes
0 answers

Display image from storage directory in Laravel 5.8

I have for displaying image from my directory. I upload file in the public/uploads/images In the database, images are saved in my organigrammes tables in the profile_image field. my Controller Here: public function update(Request $request,…
Saliou MBALO
  • 169
  • 1
  • 11
0
votes
2 answers

why the function didn't work with else If and works with else statment?

I have an element with an id of "sd-nav-bar" with display: inline-block, and I have a button that (after clicking on it) will hide that element if it is shown and vice versa using hider function. but the hider function which contains two Ifs didn't…
Abdoun abdou
  • 41
  • 1
  • 6
0
votes
0 answers

How to connect SSD1309 OLED with STM32 via i2c

I have a 1.5 OLED SSD1309 display with ZIF connector. Based on a interfacing scheme from the seller I made a scheme that should connect this display with STM32 based MCU via i2c. Interfacing scheme is based on AT MCU, so I wonder can this apply to…
Ademir Omercehajic
  • 135
  • 1
  • 1
  • 8
0
votes
1 answer

React: CSS Grid number of rows relative to screen size & store what data is displayed on each page

I'm making an app with React, similar to Spotify and SoundCloud in functionality. Please look at the below image of my design...[![enter image description here][1]][1] I'm using display: grid to display the Record components. Is there a way using…
user15459167
  • 75
  • 2
  • 10
0
votes
4 answers

How to display an integer many times

I'd like to create a function that add 2 to an integer as much as we want. It would look like that: >>> n = 3 >>> add_two(n) Would you like to add a two to n ? Yes The new n is 5 Would you like to add a two to n ? Yes the new n is 7 Would you like…
0
votes
1 answer

How to get and display specific data from onClick into another page in React

So I am currently working on a react project and I am trying to figure out how to get specific data from a clicked button/profile and then display that onto another page. This is what I currently have. Here is a list of profiles of different…
Rose
  • 19
  • 5
0
votes
1 answer

Why does my display flexbox have empty white space on the right?

I am making an app that displays 100 bars of random heights inside of #bar-container which is a div. For some reason, my app has some white spaces to the right of my bars. I want the div to shrink to the size of the content and then center on the…
SushiCode
  • 77
  • 1
  • 1
  • 7
0
votes
1 answer

How to display data in columns and row from a onclick event

I can't figure out how to display data from input onclick event. Data come from inputs of the users (name of a book). At each click on the submit button I want to display this book name to the right of the screen and in a organized way (for instance…
Mln954
  • 57
  • 7
0
votes
0 answers

which driver to show videos in my tft spi display connected to my raspberry pi through python?

I am developing a project which is like a portable video player. I have connected this 1.14" display https://learn.adafruit.com/adafruit-1-14-240x135-color-tft-breakout/python-usage and connected it through the GPIO pins in raspberry pi zero. can…
0
votes
2 answers

How can I get a weather display to use the previous data if the internet dies and no update?

I've got a weather display for a Pi which uses pygame to display the data The issue I have is when the internet dies for any reason there is no update and the display shows blank data What I'd like to do is if there is no update then it keeps the…
Lewis
  • 55
  • 6
0
votes
2 answers

Show hidden element if their character length is less than 8

I have a hidden element called ShowUsername that I want to show if the user inputs a username that is less than 8 characters. I can't seem to figure this out if someone could help me out. I currently have the element hidden and it stays hidden if…
1 2 3
99
100