Questions tagged [height]

The property which determines the size of an object on the Y-axis. Please don't use this tag, it has no taxonomic value in your post.

The property which determines the size of an object on the Y-axis. Most likely, it has no taxonomic value in your post, and you should not be using it. Consider e.g. , or .

6209 questions
2
votes
1 answer

CSS height adjusting

In my html i have somewhat like this
insanity
  • 1,148
  • 6
  • 16
  • 29
2
votes
1 answer

Stretch height of nested ItemsControl

On MainWindow, I have an ItemsControl that I'm adding UserControls to, and said UserControl also contains an ItemsControl containing other UserControls. The problem is that a lot of items in the second ItemsControl aren't showing because they go…
natli
  • 3,782
  • 11
  • 51
  • 82
2
votes
2 answers

Make div stretch to length of it's content and beyond if parent div is longer?

I want to make a div (my sidebar) stretch to the bottom of the page. I know that I need to add "height: 100%;" in order to do that. But when I add height: 100%;, pages that have less content than the sidebar cuts the sidebar's height and then you…
Tara
  • 251
  • 1
  • 5
  • 17
2
votes
1 answer

Why does jQuery only return integer height if setting a double value clearly renders differently?

I've got an image that is 924px in height. The image has been created to look appropriate at this height. Stretching it is not desireable. Ontop of this image, I need to overlay a variable number of same-height div elements. In this particular…
Sean Anderson
  • 27,963
  • 30
  • 126
  • 237
2
votes
2 answers

How do I get the "auto" height of a DIV

So when I set a fixed height on a div with jquery, like $('div').height(200);, the value of $('div').height() is always 200. Even if the content from that div exceeds that height (I use overflow:hidden). How can I get that true height of the DIV as…
thelolcat
  • 10,995
  • 21
  • 60
  • 102
2
votes
4 answers

Change View height programmatically Smoothly

I am trying to change the height of the view programmatically. What i have tried is - RelativeLayout rlOne; rlOne = (RelativeLayout) findViewById(R.id.rlOne); And on some click event i am changing the height using the…
Anukool
  • 5,301
  • 8
  • 29
  • 41
2
votes
1 answer

Bootstrap: How to get a column with 100% the height of another column

I have this kind of structure: (this is bootstrap 3 but it should be the same with version 2.x) Pretty basic stuff, looking like a table. I want this col-lg-4 on the right to have the same size as the col-lg-8 on the left. I tried…
Philip Feldmann
  • 7,887
  • 6
  • 41
  • 65
2
votes
1 answer

Best practice for getting View dimensions, possibly before they are drawn to screen

I've seen a ton of different questions and answers to the problems people are having with retrieving height and width of views, particularly this thread. The following are mentioned methods to retrieve View dimensions: onWindowFocusChanged() in…
mpellegr
  • 3,072
  • 3
  • 22
  • 36
2
votes
1 answer

CSS width/height of IMG and TD

I have a problem in css, I have a TD with a width:100px; and height:100px; inside it, I have an img element with the same width and height (100px, 100px). The problem is that the TD is automatically resized to 145px width and 114 px height. If…
Jo Colina
  • 1,870
  • 7
  • 28
  • 46
2
votes
1 answer

How to get the wpf listboxitem to stretch entire height of listbox when selected

How can i get the listbox item to stretch the entire height of the listbox when it is selected.My situation is like my listboxitem contains an expander which expands and shows another list.The second listbox is quite long and i am looking for some…
biju
  • 17,554
  • 10
  • 59
  • 95
2
votes
3 answers

Both columns same height as deepest column?

If I have a div layout like this:
Which makes something like this: ----------------------------------------------------- | …
cannyboy
  • 24,180
  • 40
  • 146
  • 252
2
votes
3 answers

Android: make ImageView match the height of another view

I have a problem designing a layout of an application. This is what I'm trying to get: ========================================================= | ============= ================ ================ | | | | | LinearLayout | |…
2
votes
1 answer

JQuery Accordion Ajax Height issue

I'm having an issue implementing the JQuery Accordion. Okay so basically what I need / am doing is the following: Javascript: $.ajax( { url:'MyServlet.jsp', type:"GET", async:true, …
Foxticity
  • 303
  • 2
  • 5
  • 17
2
votes
1 answer

How to use JavaScript to show/hide an element based on its parent's dynamic height?

I'd like to show an absolutely-positioned element (a "read more" link) when its parent container's computed height goes over 336px due to dynamic content. The read more link's grandparent container has a set height of 336px and hidden overflow. I…
sueanna
  • 113
  • 9
2
votes
2 answers

adjust iframe height based on the content

I am using the following script to adjust the iframe height automatically. function autoIframe(frameId) { try { frame = document.getElementById(frameId); innerDoc = (frame.contentDocument) ? frame.contentDocument :…
Prasad
  • 58,881
  • 64
  • 151
  • 199
1 2 3
99
100