height

GridView row height

I have a GridView that displays images, which are, unfortunately, of different sizes. They are shown in between two lines of text: text1.1 text1.2 ImageView(IMAGE1) ImageView(IMAGE2) text2.1 text2.2 text3.1 ImageView(IMAGE3) text4.1 etc.... If IMAGE1 is the same height as IMAGE2, everything is fine...

100% div height. I am confused!!

Hi, I have been working on a dynamic page http://www.euroworker.no/order and I want my lovely rounded corners box (border-radius, not images) to fit over the generated products and ordrekommentar boxes.. This is dynamic so I have set the html, and parent element of this div to height:100%;, but it just extends to the bottom of the page.....

problem with setting div height to 100%

hi i have template with one wrap div which contains two important divs , sidebar and main . i decide to set main div height to 100% so always covers the whole page height. i set body height to 100%. main height to 100%. and wrap height 100%. but now wrap is always shorter than main div or should i say child divs getting out of wrap div....

Stretch nested div to height of container div when container has height:auto?

I have a container div and two nested divs within. I do not have control over the content of either of these nested divs. What I essentially need is to make the two nested divs always have the same height. I figured this can be achieved by giving the container div height:auto so that it would stretch its own height to the tallest of the...

How to get a tool window title bar height in WPF ?

WPF includes the title bar height in the total window height instead of using only the client content area height. Is there a way to disable this behaviour? If not, how can I get the height of a tool window title bar? I'm aware of the SystemParameters.CaptionHeight property and the SystemParameters.WindowCaptionHeight property but t...

Change height of an iframe on hover?

How do i change the height of an iFrame, on hover, using jQuery? I've tried this: <script type="text/javascript"> $(document).ready(function(){ $(".googlemaps").hover( function(){ $('#googlemaps').height(300); }); }); </script> My iframe is: <div class="googlemaps"> <xsl:variable name="location"><xsl:value-of s...

ExtJs - Set a fixed width in a center layout in a Panel

Hi all, Using ExtJs. I'm trying to design a main which is divided into three sub panels (a tree list, a grid and a panel). The way it works is that you have a tree list (west) with elements, you click on an element which populates the grid (center), then you click on an element in the grid and that generates the panel (west). My main ...

Line height for Fire fox

I have one problem I dont know either its my mistake or Firefox bug I have a text box in which the value is dynamically generated through python. The value in the text box should come in middle its work properly in IE and Chrome and but in Firefox its not working. Here is my code for CSS: #query { margin:0px; padding:0px; width:...

CSS: Setting width/height as Percentage minus pixels

Hi all, I've seen this question asked in a couple other contexts on SO, but I thought it would be worth asking again for my particular case. I'm trying to create some re-usable CSS classes for more consistency and less clutter on my site, and I'm stuck on trying to standardize one thing I use frequently. I have a container div that I d...

How to make last div stretch to fill screen?

I have a site I'm trying to build and I've hit one little snag thats driving me insane. Essentially on pages without enough content to fill the viewport, I want to have the last div (my footer, fill the rest of the viewport, but it's currently being cut off. My html looks like this: <body> <div id="header"> </div> <div id="subNav"...

100% height for multiple divs

I usually have my structure laid out something like this: <div id="all"> <div id="page"> <div id="header"></div> <div id="content"></div> <div id="footer"></div> </div> </div> Where the body will hold a background pattern, "all" will hold a dropshadow for the page going up and down, and "page" may often have a repeatin...

Why would this div have an unnecessarily large computed height?

Link: http://www.fraynepainting.com/services The problem is that div#dditem_2 (the div with the "Take a look..." text) is getting a computed height of around 500px for no reason that I can find in the CSS, which is pushing the UL below it down really really far. I discovered that if you set display: none or position: absolute (or anyth...

jQuery: How can I animate to a taller height with the height being added to the top of the element?

Hi, I have a simple problem but I am not sure how to solve it. Basically I have some hidden content that, once expanded, requires a height of 99px. While collapsed the element holding it section#newsletter is set to be 65px in height. LIVE EXAMPLE: http://dev.supply.net.nz/asap-finance-static/ On the click of a#signup_form the section...

Setting height of ListView row

My application uses a ListView control to display some data from a database, and I would like to make the height of the row bigger (it is in the 'Detail' view). Here's a screenshot at the moment: http:// www.freeimagehosting.net/uploads/01478dd96f.png (Sorry about having to malform it, SO doesn't let me post more than one hyperlink) A...

Bottom of page gets cut off in Safari

I can't figure out why this page: http://wohf.squarespace.com/newsletter/ gets cut off at the bottom in safari, seems to work fine in all other browsers (as far as I found so far)!! I am using some jquery and css for the sidebar and the content to match heights and for the canvas to run top to bottom with the footer always at the very b...

Adding UIViews with dynamic heights iphone

in my viewcontroller's view i need to add a couple of custom UIView's, i do that in the loadView method so in my custom uiview's drawRect method i add a couple of UILabel's. in my viewcontroller's view i need to add all those custom UIView's underneath each other but i don't know what their height is sometimes 20px, 40px, 60px, depend...

Content div not filling up the remaining space

Basically #content is not obeying the height: auto attribute. What am i doing wrong? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head runat="server"> <title id="title" runat="server">AMIDS: Advanced Mana...

jQuery and XHTML layout problems in ie7

Hi there, I am back again with more layout problems on my up and coming website. I am able to achieve the proper animation, positioning and results with my layout / splash on every modern browser (excluding ie7 or older). I have an image in the center of the page, that is text-align: center'd, and pushed to a vertical center by having ...

How to get width and height of string on the screen?

Lets say I've a string and some font (name, size, etc...). How to get width and height, measured in pixels, of such string displayed on the screen? ...

can't get height of object in chrome

i want to get the height property of a object: $('.selector img').each(function(index,e){ thisImage = $('#topContent img').get(index); } so long no problem, but then i want to get the height like this: thisImage.height; i thought it was equvivilent to: thisImage.height(); or: thisImage.css("height"); but neither does w...