|
Posted by Chris F.A. Johnson on 09/23/07 07:47
On 2007-09-23, zacariaz@gmail.com wrote:
> Imagine this:
> The site layout is split in three parts: 'top', 'middle' and 'bottom'.
> all three parts are 100% width, 'top' and 'bottom' are x pixels high
> and middle hight is to fill the rest of the page. Standard scrolling
> is disabled and 'middle' is set to (css) 'overflow:auto'.
> Problems:
The problems are stated clearly in your first paragraph.
You have no idea what anyone's browser window look like. Setting a
height in pixels (for anything other than a fixed-size object like
an image) is doomed to failure.
> 1. i can't get the structure right without using table, but tables are
> not my favorit solution and it seems to me that it should be possible
> doing it just with 'div' tags and css.
It is possible. You are trying to do the wrong thing.
> 2. I have been unable to specify a doctype which allows (css)
> 'overflow', all though it works without a doctype.
It works in HTML 4.01 strict.
> 3. (css) 'overflow' doesn't work, with or without doctype, in 'Mozilla
> Firefox'.
It works in my Firefox browser.
> I have tried over nad over again, i've asked at various forums etc.
> but seemingly there is not solution to the problem... I refuse to
> accept that.
Post a URL demonstrating the problem.
--
Chris F.A. Johnson <http://cfaj.freeshell.org>
===================================================================
Author:
Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
Navigation:
[Reply to this message]
|