RE: STILL UNSOLVED: Is there a way to set "maximum width"?
by Klaas De Waele <klaas(at)gracegraphics.be>
|
| Date: |
Thu, 26 Apr 2001 10:14:02 +0200 |
| To: |
"'gabby'" <gabbyhon(at)mindspring.com>, "'hwg-techniques(at)hwg.org'" <hwg-techniques(at)hwg.org> |
| |
todo: View
Thread,
Original
|
|
What happens if you would put a 100% thing inside a set pixel thing? Like a
100% table in a 750 pixels div?
Don't kow really.
Kayjey
-----Oorspronkelijk bericht-----
Van: owner-hwg-techniques(at)hwg.org
[mailto:owner-hwg-techniques(at)hwg.org]Namens gabby
Verzonden: donderdag 26 april 2001 5:34
Aan: hwg-techniques(at)hwg.org
Onderwerp: Re: STILL UNSOLVED: Is there a way to set "maximum width"?
on 4/25/01 8:25 PM, Jay Smith at jay(at)JaySmith.com wrote:
> Is there really no solution to this problem?
No, there is a solution - it merely requires that you come at your
web page in a new way. The way you're trying to solve this problem will not
work.
> <.DIV STYLE="width: 700px;">
> This works nicely (at least I think so) in NS 4.7 WIN95. If the
> browser window is NARROWER than 700px, the text/table content attempts
> to reformat for the narrower window.
Because Netscape 4.x incorrectly implements the W3C DOM.
>
> However, In IE 5.0 WIN95, the 700px is treated as FIXED and thus if
> the user has a narrower browser window, they have to scroll sideways.
Because IE 5.x correctly implements and DOM and because
specifying anything as pixels *is* a fixed width. 700 pixels should always
and forever be 700 pixels. It should never ever be less or more.
I think you should try to find another approach to your design,
because your requirements cannot be answered with browser reality.
I would strongly advise you to check out recent issues at
http://www.alistapart.com, so you can get a quick heads up on making the DOM
and CSS work for you. Also highly useful is http://www.glish.com/css/ .
cheers,
gabby
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.