New web design, font size

George Danchev danchev at spnet.net
Sun Oct 9 00:01:34 PDT 2005


On Sunday 09 October 2005 08:26, George Danchev wrote:
> On Saturday 08 October 2005 22:53, Harald Hanche-Olsen wrote:
> -cut--
>
> > My second gripe is with the fixed width of the page.  This gets
> > annoying really fast, particularly when viewed on a laptop with a very
> > high resolution screen.  This is design mistake #9 in Jakob Nielsen's
> > list, referred to above.  So please look into ways to make the page
> > width variable.  It ought to be a question of setting the widths of
> > various design elements in percent rather than pixels.
>
> I fully agree here.
>
> --- en/layout/css/layout.css.orig	Sun Oct  9 08:15:36 2005
> +++ en/layout/css/layout.css	Sun Oct  9 08:15:50 2005
> @@ -12,7 +12,7 @@
>
>  #CONTAINER, #container {
>    margin: 0em auto;
> -  width: 765px;
> +  width: 95%;
>    padding: 0;
>    padding-top: 0px;
>    padding-bottom: 15px;
>
> Not sure if that suffice as fix though.

It's certainly not enough. Here is a slightly more complete approach, trying 
to preserve the original ratios as much as possible, but it is hard when you 
should dig of which base this ratio depends on.

http://www.bg.freebsd.org/~danchev/patches/02_adaptwidth.diff

-- 
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB 


More information about the freebsd-www mailing list