height

Why does this CSS example use "height: 1%" with "overflow: auto"?

I am reading a HTML and CSS book. It has a sample code of two-column layout. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html> <head> <style> #main {height: 1%; overflow: auto;} #main, #header, #footer {width: 768px; margin: auto;} ...

IPhone UITableView Flexible CellHeight

Hello, i have a Problem getting the right height for my tablecell with a given string. Okay, here i am: I have a custom Tablecell with 3 Labels (3 Lines), the labels are autoresizing (Because of changing orientation) on viewWillAppear i load my data (i have to do it here, dont ask) and redraw the tableview but before i could know ho...

Equal Height Columns with Cross-Browser CSS

I want to have divs of the same height. http://matthewjamestaylor.com/blog/equal-height-columns-cross-browser-css-no-hacks does not work for be because my divs have a border, and the method described assumes, that they have not. A jQuery solution I could not make work, because my divs resize late because of ajax and menu clicks and I...

JS - Dynamic div content, but need a fixed div height.

Hello. I'm using javascript to animate a div collapsing/sliding. The javascript requires the div to have a set height, although the content inside the div is dynamic. How would I go about making it work, as I don't want the div to be any larger than it's meant to. I've set the height of the div like this: <div id="main-div" style="ove...

how to make sidebar NOT equal to content in wordpress

I want the wordpress sidebars got an specific height, NOT equal to the content to the post/page. Just 400px, for example. I`m working with atahualpa. Which code in wich php i got to hack? Thanks ...

IE6 "frame" layout with 100% height and scrollbars

I want to achieve a simple "frame" layout with fixed header, fixed left navigation area, and a main content area that fills 100% of the remainder of the viewport with scrollbars if necessary. My best attempt is below - but when I add enough content to the main div to force scrolling, I see that the scrollbar extends below the bottom of ...

GWT forced height HTMLPanel

Hello, I'm developing a GWT project, and I encountered a problematic cross-browsering problem. When using firefox, there are problems with the display of all the pages. I found the reason why : In UIBinder, each of my pages are wrapped by a "g:HTMLPanel" : at start and at the end of the xml file, to wrap the content of all the pag...

How can I make my divs stay the same size depite adding content?

So I imagine this is a pretty trivial question for most, but I am working with a grid like class of divs, and whenever I dynamically add content to one div, the whole row of remaining empty divs shifts down. There may be something that I am just not understanding about divs, but after doing some research on the web, one post said there ...

Keeping footer visible and height 100% in CSS

I'm trying to create a very simple page that contains a container, a header, a left column and a footer: <containter> <header /> <content /> <leftBar /> <footer /> </containter> I want to use the 100% of the height, as I can do with the width, but I simply dont get it work.At his moment I'm usingmin-height, but how could I use theheig...

jQuery changing css on navigation when div # scrolls into view

I'm looking to recreate the effect used on this site: http://www.brizk.com/ The site uses one large page that scrolls down. As you scroll down and pass different sections the menu navigation on the left changes css class to "current" as the corresponding div comes into view. I presume this can be done with jQuery using $(window).height...

IHtmlWindow3 has screenLeft and screenTop of IE tab .... where are Width and Height?

I've got an IHtmlDocument2 object, and its parentWindow gives me top and left coordinates of the current IE tab window via the IHtmlWindow3 interface ... How can I get the width and height of that tab as well? ...

Outlook 2007 Table Column Width Issue

I have a table with three cells as a signature for Outlook. However, the third cell occupies a lot more space because it has a lot more text, causing the entire table row to be pushed down, so the other two cells have huge gaps of white space. I'm just trying to have the three cells take up equal vertical space, no matter how far the wid...

Easyslider not cooperating

First time I've used it. had it working but suddenly it's gone. It seems temperamental, sometimes works grand, a refresh then breaks it. It doesn't expand to the full height and screws up the positioning of the image and the corresponding copy. Any help much appreciated. See code here: http://www.bigfootwalk.com/route.html ...

Can I dynamically adjust the height of a css set div border?

Ok so I have a div that contains a few forms that have dynamically generated content. There are categories, that if you click on, slide/toggle down to reveal that categories sub-contents, or projects. Right now, I have it setup so that if the height of the div expands to exceed a set amount, a scroll bar shows up at the side, and the use...

How can I determine img width/height of dynamically loaded images in IE?

My markup is a simple div element with id 'load'. Using jQuery I then load a list of image elements into this div: $('#load').load('images.html', { }, function() { $(this).onImagesLoad({ selectorCallback: function() { ....do something.... } }); }); where images.html is a list like this: <img src='1.jpg' caption='im...

My ListView or ListBox control size doesn't shrink when there is a complex data template which hides display elements based on triggers?

I have a ListView element with a DataTemplate for each ListViewItem defined as follows. When run, the ListView's height is not collapsed onto the items in the view, which is undesirable behavior: <DataTemplate x:Key="LicenseItemTemplate"> <Grid> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <...

Subview position issue after UIOrientation (rotation) change

I have a viewController and have added a subview in it programatically. secondView.autoresizingMask = UIViewAutoresizingFlexibleWidth; [self.view addSubview:secondView]; I guess when the device rotates, my mainViewController knows that orientation changed, but the subview (secondView) inside the mainViewController does ...

Mootools Javascript can't push to array

I have an array set with the heights of each hidden div, but when I use it, the div instantly jumps down, rather than slowly sliding as when there is a literal number. EDIT: testing seems to reveal that it's a problem with the push method, as content_height.push(item.getElement('.moreInfo').offsetHeight);alert(content_height[i]);gives...

Change ExtJS Grid Height in Javascript

How can I point at the object of a ExtJS Grid and manually set the height (in pixels)? For example, with this same: var grid = new Ext.grid.GridPanel({ store: store, columns: [ {id:'company',header: 'Company', width: 160, sortable: true, dataIndex: 'company'}, {header: 'Price', width: 75, sortable: true, rendere...

Facebook like button (XFBML version) height

Hi, I'm having a problem with the height of the Facebook Like button. I use the XFBML version with this tag <fb:like layout="standard" show_faces="true" width="440" action="recommend" colorscheme="light"></fb:like> On some sites, the height of the iframe which contains the button is dynamic. It has the height of 61px, when there are ...