CSS 1.X vs. 2.X attributes
danchev at spnet.net
Tue Oct 11 00:38:36 PDT 2005
On Monday 10 October 2005 13:32, Ceri Davies wrote:
> On Mon, Oct 10, 2005 at 01:25:11PM +0300, Giorgos Keramidas wrote:
> > Bearing in mind that:
> > * min-width is a CSS 2.X (but not CSS 1.X) attribute
> > * it may improve the resizing of our front page
> > * the following mini-quote from a discussion me and des@ took part in
> > # Date: Mon, 10 Oct 2005 13:21:17 +0300
> > # From: Giorgos Keramidas <keramida at ceid.upatras.gr>
> > #
> > # On 2005-10-10 12:03, Dag-Erling Sm?rgrav <des at des.no> wrote:
> > # >Giorgos Keramidas <keramida at ceid.upatras.gr> writes:
> > # >> How about specifying a minimum of 765px and then a width of 75%?
> > # >>
> > # >> min-width: 765px;
> > # >> width: 75%;
> > # >>
> > # >> That should do the trick.
> > # >
> > # > Ah, I didn't know about min-width; it's not in CSS1.
> > #
> > # You're right, of course. It is part of CSS 2.X. I'm not sure what is
> > # the CSS standards level we want to be compatible with, so I'll have to
> > # ask the folks at freebsd-www about using min-width or other CSS 2.X
> > # attributes.
> > What is our current policy (assuming we actually _have_ one) about using
> > CSS 1.X vs. 2.X attributes in stylesheets for the web site?
> I think it's probably OK. They'll just get ignored by browsers that
> don't understand them, and the alternative in this instance is to not
> include it any way as I understand it.
Please don't go for such experiments. It will open another can of worms, e.g.
inter-browser inconsistencies thus different look'n feel. Also bear in mind
that the container width (resp. height) is critical to the other css ratios.
This is almost the same like having js enabled/disabled at the browser side.
Just don't play with that and be more conservative. I'll go for width between
80-95%, no use to left unused space if you don't have good reasons doing so.
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