[TriLUG] web window size

Matt Flyer matt at noway2.thruhere.net
Tue Jul 20 14:10:20 EDT 2010


I agree, divs and css should get you the result you desire.
Try wrapping the <body> </body> portion with a div and assign it an ID
like wrapper.  Then in your style sheet, you can specify the width
parameter as a percentage rather than as px.  You will want to keep all
your sizings relative using percentages, ems, etc.  That way your page
should scale to the browser window, regardless of size.

On Tue, 2010-07-20 at 14:03 -0400, David M. wrote: 

> If a website I visit resizes my browser window I get annoyed. That said, I'm
> not sure what the full purpose of the site is but using divs and CSS are
> likely a good path.
> 
> On Jul 20, 2010 1:54 PM, "Glenn Hennessee" <glenn.hennessee at gmail.com>
> wrote:
> 
> Put the content in a <div></div> that has been styled with a width is the
> only way I know of attempting this but it won't actually change the size of
> the browser window. As far as I can determine javascript is the only way to
> change the window size. The suggestion of checking browser agent and
> branching is your only bet for actually doing what you want to do I think.
> glenn
> 
> 
> e.g. <div style="width:400px; "> </div>
> 
> 
> 
> On 07/20/2010 01:20 PM, William Sutton wrote:
> >
> > You mean, short of wrapping the content in a tab...
> Glenn Hennessee
> Department of Chemistry
> NC State University
> Raleigh, NC 27606
> Voice: (919) 515-2947 FAX: (919) 515-8909
> Email: Glenn_Hennessee at ncsu.edu
> 
> 
> 
> -- 
> This message was sent to: David McDowell <turnpike420 at gmail.com>
> To unsubscribe, send a blank ...



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20100720/5def7b08/attachment.pgp>


More information about the TriLUG mailing list