[thelist] CSS Positioning - right alignment

Lachlan Cannon luminosity at members.evolt.org
Mon Dec 9 23:52:10 CST 2002


Peter J. Christie wrote:
> I have put these pages together as a prototype and demo for Cascading
> Style Sheets, but I am learning as I go.  One thing I cannot seem to
> make happen is to make my layers go all the way to the right edge of the
> window.
>
> The sample is here - http://www.xula.edu/CIIP
> and the style sheet is here - http://www.xula.edu/CIIP/ciip.css
>
> The idea is that at the University, I could have layers as Server Side
> Includes, and optionally a Departmental Webmaster could fill in the
> content for these layers and create their own template.
>
> Any ideas on other approaches will be appreciated.

Try setting html, body {
	margin: 0;
	padding: 0;
}

Also try setting the margin to zero on all your positioned elements.
--
Lach
__________________________________________
Web: http://illuminosity.net/
E-mail: lach @ illuminosity.net
MSN: luminosity @ members.evolt.org
__________________________________________





More information about the thelist mailing list