[css-d] CSS options for 100% - 50px;

2006-05-16 Thread Stephen Cunliffe
Hi all, I'm looking for info on the options for providing a CSS demension that is 100% (minus X pixels) E.g. If I have a fixed height header, of 50px, and I want a body below that, that is 100% of the remaining browser viewport (e.g. 100% - 50px) Is there a way to accomplish this (note:

Re: [css-d] CSS options for 100% - 50px;

2006-05-16 Thread cj
On 5/16/06, Stephen Cunliffe [EMAIL PROTECTED] wrote: Hi all, I'm looking for info on the options for providing a CSS demension that is 100% (minus X pixels) E.g. If I have a fixed height header, of 50px, and I want a body below that, that is 100% of the remaining browser viewport (e.g.

Re: [css-d] CSS options for 100% - 50px;

2006-05-16 Thread Rahul Gonsalves
cj wrote: On 5/16/06, Stephen Cunliffe [EMAIL PROTECTED] wrote: Hi all, I'm looking for info on the options for providing a CSS demension that is 100% (minus X pixels) E.g. If I have a fixed height header, of 50px, and I want a body below that, that is 100% of the remaining browser

Re: [css-d] CSS options for 100% - 50px;

2006-05-16 Thread cj
On 5/16/06, Rahul Gonsalves [EMAIL PROTECTED] wrote: Note: He said *below*. i knew i must be reading something wrong, which is why i put the question mark in there. good luck! __ css-discuss [EMAIL PROTECTED]

Re: [css-d] CSS options for 100% - 50px;

2006-05-16 Thread MarcLuzietti
Hmmm, my first answer was wrong. I suggested a padding-top of 50px, but I've been stuck in an IE only development environment too long. Check out: http://www.fu2k.org/alex/css/frames/ You *will* have to rely on proprietary extentions for IE. -- Marc Luzietti Flagship Project Bayview

Re: [css-d] CSS options for 100% - 50px;

2006-05-16 Thread cj
i'm not going to say this is the best answer, but it works in ff, ie, and opera. maybe it will give you a starting point. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; html xmlns=http://www.w3.org/1999/xhtml; head