height Questions

25

Solved

I want to make body have 100% of the browser height. Can I do that using CSS? I tried setting height: 100%, but it doesn't work. I want to set a background color for a page to fill the entire brows...
Bramante asked 11/7, 2011 at 18:50

18

Solved

I have some labels which I want to adjust their height to the text, this is the code I wrote for this now func heightForView(text:String, font:UIFont, width:CGFloat) -> CGFloat{ let label:UILa...
Harald asked 7/8, 2014 at 10:43

4

Solved

I have a window that I want to fill the entire screen so that the footer is always off of the screen. I accomplished this with min-height: #cnt { min-height: calc(100% - 62px); } However, there a...
Adagio asked 9/4, 2014 at 22:43

5

Solved

event.pageY gets the mouse position relative to the entire document height (document.documentElement.offsetHeight I assume). But how do I get the mouse position relative to the current viewport, wh...
Combustible asked 5/2, 2013 at 21:50

24

I use UITabBarController as a root view and app supports iOS 6 and above. Project class hierarchy is as below. UITabBarController - tab1 - UINavigationController - UIViewController - UIViewCon...
Guillemette asked 13/4, 2014 at 14:53

3

Solved

Please how can we set the map div to be height: 100% of its container? I have tried this within a bootstrap template content section, but all I get is height of 0px. Even Google-Dev tools shows #m...
Korykorzybski asked 21/4, 2015 at 13:38

5

Solved

Since Raised button is deprecated I replaced with Elevated Button. But I can't increase Elevated button's height. class ZuzuButton extends StatelessWidget { final Function onTapped; final String na...
Hubert asked 15/3, 2021 at 5:55

1

Solved

In the middle of writing my project code I decided to change a popup I created myself to a dialog tag. But then I ran into a problem that dialog element didn't spread to the whole screen even thoug...
Zashin asked 5/1, 2023 at 20:28

15

I have a navigation bar on the left hand side of my page, and I want it to stretch to 100% of the page height. Not just the height of the viewport, but including the areas hidden until you scroll. ...
Grandiose asked 3/4, 2009 at 5:50

3

Solved

I'm using prism to load views to region. The problem is the loaded view overlapped the title bar of the main windows - the bar contains caption, close/minimize/maximize buttons. How can I get the t...
Miscreance asked 10/10, 2010 at 8:59

3

Solved

The tittle really says it all. Basically i want to detect if this div's height is bigger than window height and do something about it.. I have done this but i cant get it to work http://jsfiddle....
Discovery asked 31/8, 2011 at 16:8

10

Solved

I have created a custom view named Graphview . Here is the structure for the GraphView class. public class GraphView extends View { public GraphView(Context context, float[] values, String title...
Peart asked 18/2, 2011 at 14:1

7

This is my page http://inogroup.it/preload/index.htm Width of image boxes is responsive How to set the height to be responsive too? Like 50% of the screen? If I do this change: .pattern{ back...
Owner asked 7/10, 2014 at 12:52

3

How can I set one layout components height to the same as another component: example: Can I set android:layout_height="@+id/info_box.height" or do something similar? I want the height of ...
Hiragana asked 13/1, 2011 at 20:11

8

Solved

I have some containers and their children are only absolute / relatively positioned. How to set the container's height so their children will be inside of them? Here's the code: HTML <section id...
Vulvitis asked 24/11, 2012 at 21:47

3

Solved

This is a self Q&A If you've ever tried to use 100vh in CSS on iOS you will have found that it isn't actually 100vh when the browser chrome is expanded. It's a well documented bug that Apple d...
Ostensive asked 16/11, 2019 at 1:45

3

I found this link on stackoverflow: Sublime Text 2 how to change the font size of the file sidebar? I followed the directions and changed the font size, but now the font is too big with too small ...
Grisby asked 25/4, 2015 at 23:30

9

Solved

I have 2 canvases, one uses HTML attributes width and height to size it, the other uses CSS: <canvas id="compteur1" width="300" height="300" onmousedown="compt...
Mariellamarielle asked 6/4, 2010 at 20:45

5

Solved

Why in the following example the height of the inner div is not like wrapper's div ? Live demo here. HTML: <div class="wrapper"> <div class="inner">Hello</div> <div class=...
Floatage asked 4/5, 2011 at 6:59

7

Solved

I have images which have width and height in html but there is also a stylesheet affecting these images with height auto How to reset/override this property using css so that the html height comes...
With asked 16/5, 2017 at 20:5

12

Solved

I want the carousel DIV (s7) to expand to the height of the entire screen. I haven't an idea as to why it's not succeeding. To see the page you can go here. body { height: 100%; colo...
Arsine asked 13/8, 2011 at 10:23

5

Solved

I have a UITextView and want to set its height as per its content changes. How can I get height of the content. Please guide me. Thanks in advance.
Particia asked 13/9, 2011 at 11:56

9

I have the following code <Window x:Class="Netspot.DigitalSignage.Client.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/wi...
Kowalski asked 13/6, 2012 at 10:51

5

Solved

I have a spinner which currently obscures some text below the spinner when opened. I need to limit the maximum drop-down length of the spinner, either through java code or through XML, so that it d...
Hakenkreuz asked 29/1, 2014 at 8:45

6

Solved

So the alert gives undefined values for the width and height. I think the w and h values of the image from the img.onload calculation is not being passed to the values to return, or it may be retur...
Booklover asked 11/7, 2012 at 22:51

© 2022 - 2024 — McMap. All rights reserved.