[Javascript] How to create a web page that fits screens of allsizes via all

Roger Roelofs rer at datacompusa.com
Fri Mar 3 21:47:22 CST 2006


Troy and George,

On Mar 3, 2006, at 10:04 PM, Troy III Ajnej wrote:

> The most recent version of NN is IE and FX compliant; alias 
> switchable, -so no problem with that. Somebody at NN must have read 
> one of my postings here a few months ago. Might be an year.
> If you like a page that will display in all monitors/browsers with the 
> same proportions youll have to build a page that will calculate and 
> parse dimensions proportional to the window size no matter what size 
> accordingly. But that's a very tiresome job to do. There used to be a 
> downloadable script that worked for NN3 or somethig (a decade ago) 
> that you could be downloaded at that time from the net but coding 
> elements were very simple at that time,  today you'll have to work 
> very hard to make something like that possible again.


I didn't answer this one before because I didn't understand why 
javascript would be involved, or why it would be hard.  It seems like a 
perfect job for css.
----------
<head><title>...</title>
<style type="text/css">
#col1 {
float: left;
width: 50%;
}
</style>
</head>
<body>
<div id="col1">Whatever</div>
<div>more stuff</div>
</body>
------------

What am I missing?


-- 
Roger Roelofs
Datacomp Appraisal Services




More information about the Javascript mailing list