[css-d] Div sizing problem

2007-01-22 Thread Vicki Stebbins
Hi all, We've almost completed this website (redesign) and I've got a problem with a div in a shopping page. I've got the navigation floating and then small divs with classes within a main div (#ufwus) to display product. The problem is that the first div sizes itself to the length of the

Re: [css-d] Div sizing problem

2007-01-22 Thread Gunlaug Sørtun
Vicki Stebbins wrote: The problem is that the first div sizes itself to the length of the navigation, which will dynamically be built by the client so may end up longer than you would want the first product div to be. http://www.schygiene.com.au/shopping.php?cat=8 Would the addition of...

Re: [css-d] Div sizing problem

2007-01-22 Thread Vicki Stebbins
At 02:07 PM 23/01/2007, Gunlaug Sørtun wrote: Vicki Stebbins wrote: The problem is that the first div sizes itself to the length of the navigation, which will dynamically be built by the client so may end up longer than you would want the first product div to be.

Re: [css-d] div sizing problem

2006-10-12 Thread Alexandru E. Ungur
sender: Jens Nedal date: Mon, Oct 09, 2006 at 12:58:17PM +0200 EOQ Since the hack did not work for you, you might be testing this on IE7? For IE 7 this hack has been fixed. Nope, IE6 (on Linux under Wine emulator) but I might have mispelled height or something :) The conditional 'hack' works

[css-d] div sizing problem

2006-10-09 Thread Alexandru E. Ungur
Hi all, I have a problem trying to setup a div so that it show the same (size) in IE and FF/Opera/etc. The problem is kind of classic: if I set padding in the example below, in FF will be added to the height of the div, making it taller than I want it to be, while in IE it won't. Last time I

Re: [css-d] div sizing problem

2006-10-09 Thread Bradley Wright
On 09/10/2006 07:35, Alexandru E. Ungur wrote: I have a problem trying to setup a div so that it show the same (size) in IE and FF/Opera/etc. The problem is kind of classic: if I set padding in the example below, in FF will be added to the height of the div, making it taller than I want it to

Re: [css-d] div sizing problem

2006-10-09 Thread Jens Nedal
Hi, I would not try to use the hack on top property but rather on the height property since that is what is causing the problem. IE reads the height placing the padding-top outside of the box and FF takes it inside the box, like it should be according to W3C box model. Either use IE Conditionals

Re: [css-d] div sizing problem

2006-10-09 Thread Alexandru E. Ungur
sender: Jens Nedal date: Mon, Oct 09, 2006 at 10:53:04AM +0200 EOQ Hi, Hi, I would not try to use the hack on top property but rather on the height property since that is what is causing the problem. IE reads the height placing the padding-top outside of the box and FF takes it inside the

Re: [css-d] div sizing problem

2006-10-09 Thread Jens Nedal
Since the hack did not work for you, you might be testing this on IE7? For IE 7 this hack has been fixed. You will find more on conditional comments here. http://www.quirksmode.org/css/condcom.html Conditionals can only be used for Windows Internet Explorer, not on Internet Explorer for Mac OS