Sent by Gunlaug_Sørtun on 25 March 2008 08:08
Steven Garno wrote:
> I have been pulling my hair out trying to get this layout to work
> using DIV tags. With all the bugs, and hacks that I have been
> reading through in a ton of pages, I can't seem to get the recipe
> right.
Can't help you with your hair-problem, and I think you'll run into two
problems that together makes your layout-problem nearly unsolvable in
practice.
1: how tall is a browser-window? I usually limit the hight-range to from
400px to 2400px, which already is too much for most such layouts. The
real size-range is larger.
2: plenty of visitors will use a browser that doesn't support the
relevant CSS properties, so you'll have to add workarounds for those.
Apart from that the recipe has been around for a while - here...
<http://www.w3.org/TR/CSS21/visuren.html#fixed-positioning>
....but you'll have to relax on your requirements a bit if you want it to
work in practice, or else you'll just keep on losing hair for no good
reason.
A workaround for the weakest browser in regular use can be found here...
<http://www.gunlaug.no/contents/wd_additions_15.html>
....but it doesn't solve the problem with the size-range for
browser-windows. It does however solve the problems well enough for
comfort for "slightly less fixed and a lot more relaxed" designs, like
this one...
<http://www.gunlaug.no/main-en.html>
....which at the moment is waiting for an improved beta-version of IE8 to
arrive.
regards
Georg
--
http://www.gunlaug.no
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/