On 15/06/06, Flash Wilson <[EMAIL PROTECTED]> wrote: > > On Thu, Jun 15, 2006 at 11:01:05AM +0100, Dave Goodchild wrote: > > > To centre in the browser there are two main ways, either use the IE > heck > > > (text-align: center then text-align: left etc) but I prefer using > relative > > > positioning and negative margins - example: > > > > Is this what you are trying to do? > > Um. > > Everything in my design is laid out with absolute positioning, > so its X pixels from top, Y pixels from left, etc. > > And having finished the design I now have to scoop it all up and > make it centre in the browser as it is resized. Obviously at the > moment it will not do that, it will always be exactly where I told > it to be! > > So my question was, can I change the word "absolute" to "relative" > in every case, and it still work? Then if I do that, I could put > a wrapper / container around everything, and make that wrapper be > centred? And everything would still be my precise X pixels from the > edge of the wrapper? > > Is that how it works? > -- > Flash Wilson - Web Design & Mastery - 0870 401 4061 / 07939 579090 > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > Work: www.wdam.co.uk Personal: www.gorge.org >
Can you give me the URL? -- http://www.web-buddha.co.uk http://www.projectkarma.co.uk ______________________________________________________________________ css-discuss [EMAIL PROTECTED] 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/
