I have a simple page layout of one column (that contains dynamic content that varies from page to page) and an absolutely positioned div that sits at the top of the page and to the right of the single content column.
I am using scriptaculous to make the absolutely positioned div draggable (allowing the user to drag the div "in" from the side of the page, and then "out" again when they are done).
Oh, I'm using a 4.01 Transitional doctype (although I can alter this at this early stage if needed). I'm looking for compatibility with the following browsers: IE6+7 (Win), FF2 (Mac/Win).
Without using Javascript, can anyone suggest a way to make the absolute positioned div the height "of the content of the page". This is not as simple as setting the div to height 100% (since that gives 100% of the height of the browser - not the content).
Personally I can't come up with a solution. I think I'll resort to using javascript.
Any suggestions?
Cheers,
Jeff
[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]
Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!
FAQ216-6094
I am using scriptaculous to make the absolutely positioned div draggable (allowing the user to drag the div "in" from the side of the page, and then "out" again when they are done).
Oh, I'm using a 4.01 Transitional doctype (although I can alter this at this early stage if needed). I'm looking for compatibility with the following browsers: IE6+7 (Win), FF2 (Mac/Win).
Without using Javascript, can anyone suggest a way to make the absolute positioned div the height "of the content of the page". This is not as simple as setting the div to height 100% (since that gives 100% of the height of the browser - not the content).
Personally I can't come up with a solution. I think I'll resort to using javascript.
Any suggestions?
Cheers,
Jeff
[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]
Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!
FAQ216-6094