height Questions

2

I have a very responsive html/css page that uses position:absolute to put elements in place. e.g. a username input will have position:absolute; top:30%; height:8%; left:35%; right:65%; Everythin...
Unbeatable asked 19/8, 2016 at 23:43

8

In android, how can you create a scroll view that's got a max height, and wrap contents, basically it wraps the content vertically, but has a maximum height? I tried <ScrollView android:id="...
Neoptolemus asked 25/8, 2013 at 4:39

52

Solved

There was another thread about this, which I've tried. But there is one problem: the textarea doesn't shrink if you delete the content. I can't find any way to shrink it to the correct size - the c...
Tithonus asked 17/1, 2009 at 22:30

3

Solved

I have a sequence of articles inside a div of 4+ length, without any rounding row tag. I need to represent it as a table of 3 articles (columns) per row, probably with display: grid. Every article ...
Evapotranspiration asked 18/10, 2017 at 18:19

9

For an animation I need to know the height from a View. The Problem is, that the getHeight() method allways return 0 unless the View is drawn. So is there any way to get height without drawing it?...
Realistic asked 5/3, 2012 at 23:29

17

Solved

Currently, with STYLE, I can use width: 100% and auto on the height (or vice versa), but I still can't constrain the image into a specific position, either being too wide or too tall, respectively....
Chequered asked 20/9, 2010 at 12:42

18

Solved

Even after specifying the height for Container GridView, my code is producing square widgets. class MyHomePage extends StatefulWidget { MyHomePage({Key key, this.title}) : super(key: key); fina...
Chevaldefrise asked 23/1, 2018 at 15:19

4

I'm attempting to reduce the height of a Dropdown menu, I have tried in this way: SizedBox( height: 30, child: Container( decoration: BoxDecoration(color: Colors.white), child: DropdownMenu<...
Rambert asked 25/9, 2023 at 15:33

12

Solved

Here is the HTML: <div id="outer"> <div id="inner"></div> Test </div> And here is the CSS: #inner { float: left; height: 100%; } Upon inspection with the Chrome de...
Sufficiency asked 15/6, 2010 at 23:24

3

Solved

Is there any way to get an element's height prior to appending it to the DOM? I know that clientHeight doesn't work as I've tried and it always returns 0. Are there other methods that may return th...
Zoon asked 10/5, 2011 at 0:49

43

I have a layout with two columns - a left div and a right div. The right div has a grey background-color, and I need it to expand vertically depending on the height of the user's browser window. Ri...
Erb asked 15/10, 2009 at 21:18

4

I use the Monaco Editor. My full code is too long to be posted here but this is my settings: automaticLayout: true, folding: false, theme: 'vs-dark', lineNumbers: 'off', minimap: { enabled: fals...
Burdened asked 29/1, 2020 at 9:13

2

Solved

My purpose is to have an invisible LinearLayout that appear whit an animation when click on a specific button. To do this i have set the default height to WRAP_CONTENT, get the height when the app ...
Flirtatious asked 7/12, 2016 at 10:5

10

I'm using Selenium WebDriver for Python. I want instantiate the browser with a specific width and height. So far the closest I can get is: driver = webdriver.Firefox() driver.set_window_size(1080,8...
Melany asked 13/3, 2013 at 22:10

2

Solved

I have a fairly simple problem. I have a container div with three children - two divs and a table. The following is the CSS: #container { overflow: auto; } #child1 { float: left; width: 50px; ...
Orchestrion asked 29/1, 2014 at 15:13

7

Solved

I'm trying to show some Cards with the ListView.builder I want to set the heights of each card automatically to the height of its children content class HomePage extends StatelessWidget { Widget _...
Reviel asked 3/1, 2019 at 6:45

5

Solved

I think I already know the answer to this one, but i hope maybe someone will have a some neat trick for that . I want to specify a min-height of a DIV , but not px / % based . (I know it sounds st...
Foti asked 22/6, 2012 at 7:16

5

Solved

In this code, I am trying to make a list of buttons or tiles "as buttons do not work well for me " at the very top of the page. Thus, when one is clicked it returns a value in the rest of...
Drumstick asked 30/10, 2018 at 19:18

9

I've used vh (viewport units) css in one of my projects but in mobile safari it doesn't work. It seems like Safari doesn't know what to do with vh, but it works fine in other browsers. I would like...
Baudelaire asked 22/4, 2014 at 14:58

6

I have just stumbled across the fact that Yahoo mail is transforming all height attributes into min-height. Is there a workaround for this? <div style="width:55px; height:55px; overflow:hidden;...
Dimmick asked 11/7, 2014 at 23:35

30

Solved

How do I get a div to automatically adjust to the size of the background I set for it without setting a specific height (or min-height) for it?
Febrifuge asked 1/3, 2009 at 23:1

5

I'm trying to start each page after the homepage about 500px down, similar to this website: http://unionstationdenver.com/ You'll notice when viewing pages after the homepage, you're automaticall...
Seligman asked 7/1, 2012 at 23:14

3

Solved

I currently have two columns, with another column in-between them. What I want is to have the left and right columns extend in height as the centre column has more content added to it. Something to...
Treacherous asked 5/5, 2012 at 3:2

27

Solved

I have these nested divs and I need the main container to expand (in height) to accommodate the DIVs inside <!-- head --> ... <!-- /head --> <body class="main"> <div id=...
Lengthways asked 10/11, 2009 at 16:51

11

Solved

i can getting the image width through MediaStore.Images.Media normally but i need to getting the image width and height from image which selected from dropbox so currently i have following method...
Merthiolate asked 8/5, 2013 at 12:36

© 2022 - 2024 — McMap. All rights reserved.