Re: CSS Positioning

by Lisa Bradshaw <zibbler(at)mediaone.net>

 Date:  Wed, 7 Nov 2001 09:28:37 -0500
 To:  hwg-techniques(at)hwg.org
 References:  hwg
  todo: View Thread, Original
Hi Laurie,

float: bottom will not work because there is no such property. The only 
properties that work with float are: right, left, or none. The default is 
none. Try something like this:

div {position: absolute; bottom: 20px; left: 20px; width: 20px; height: 20px}

Of course you would replace the 20px with wahtever value you need to use. You 
can use top, right, bottom, or left and can use a percentage,  length 
(ex. 20px) or auto.

HTH,
Lisa B.


On Tuesday 06 November 2001 08:26 am, Laurie Davis-Covin wrote:
> I've been studying and working with positioning.  I have a page up that
> uses absolute positioning (images only) and now I'm working with float.
> Trying to get away from tables, I'm formatting the page using columns .
>
> Absolute positioning seems to do the job, and float does as well, although
> I can't seem to get float:bottom to work for me.
>
> Am wondering if there's information on which has the most browsers
> support.  Would like to stay with the most proven.
> Accessibility is a commitment.
>
> Laurie Davis-Covin, Web Specialist
> SAIC @ National Institute of Standards
> and Technology
> 301-975-8027

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA