Sent by Css on 15 June 2006 11:11
On Thu, Jun 15, 2006 at 12:21:04PM +0200, Els wrote:
> [EMAIL-REMOVED] wrote:
> > So... My idea is to make a container class for it all, and then
> > to have everything positioned relative rather than absolute.
> > And centre the containing class.
>
> Just make a div with id="container" to hold all that's inside
> <body> now, give it position:relative, and all that was
> previously absolute positioned to the viewport, will now be
> relative to the container. (no need to change any of the absolute
> values you already set)
> Then you center the container by giving it a width and
> margin:auto;.
Oh - it's that simple?
Ok, that sounds good! I'll get to trying it.
Thanks very much to you, and to David, for your help.
Let's see how I get on...
Cheers,
--
Flash Wilson - Web Design & Mastery - 0870 401 4061 / 07939 579090
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Work: www.wdam.co.uk Personal: www.gorge.org
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/