Top "Height" questions

The property which determines the size of an object on the Y-axis.

How to make a div 100% height of the browser window

I have a layout with two columns - a left div and a right div. The right div has a …

html css height
Make iframe automatically adjust height according to the contents without using scrollbar?

For example: <iframe name="Stack" src="http://stackoverflow.com/" width="740" frameborder="0" scrolling="no" id="iframe"> ... </iframe> …

javascript html iframe height scrollbar
Make body have 100% of the browser height

I want to make body have 100% of the browser height. Can I do that using CSS? I tried setting height: 100%, …

html css height
make div's height expand with its content

I have these nested divs and I need the main container to expand (in height) to accommodate the DIVs inside &…

css height
How do you get the rendered height of an element?

How do you get the rendered height of an element? Let's say you have a <div> element with …

javascript jquery css height
How to get div height to auto-adjust to background size?

How do I get a div to automatically adjust to the size of the background I set for it without …

css html background height
CSS: 100% width or height while keeping aspect ratio?

Currently, with STYLE, I can use width: 100% and auto on the height (or vice versa), but I still can't constrain …

css image height width
Twitter Bootstrap: div in container with 100% height

Using twitter bootstrap (2), I have a simple page with a nav bar, and inside the container I want to add …

css twitter-bootstrap height
jquery $(window).width() and $(window).height() return different values when viewport has not been resized

I am writing a site using jquery that repeatedly calls $(window).width() and $(window).height() to position and size elements …

jquery resize height width viewport
Creating a textarea with auto-resize

There was another thread about this, which I've tried. But there is one problem: the textarea doesn't shrink if you …

javascript html resize height textarea