Re: [WSG] centering an element

2004-05-12 Thread SomeNewKid
The Web Page Design for Designers website provides the following method of
"dead centre":
http://www.wpdfd.com/editorial/thebox/deadcentre4.html

I hope this helps.


- Original Message - 
From: "glenn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 13, 2004 10:04 AM
Subject: [WSG] centering an element


> i am trying to center an element in the middle of the screen using
> css...
> when the browser resizes it moves into the new middle.
>
> with tables i simple make a table 100% height and width.
> then put a fixed width table inside it with postition set to centre
>
> i can only find info on centering columns
>
> thank you
>
> *
> The discussion list for http://webstandardsgroup.org/
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
> *
>
>
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
* 



RE: [WSG] centering an element

2004-05-12 Thread Miles Tillinger
www.quirksmode.org/css/centering.html

seems that you need to use a table if you want vertical alignment that is consistent 
across recent browsers.  I haven't been able to do it without using a table either...

HTH.

> -Original Message-
> From: glenn [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 13, 2004 11:35 AM
> To: [EMAIL PROTECTED]
> Subject: [WSG] centering an element
> 
> 
> i am trying to center an element in the middle of the screen using 
> css...
> when the browser resizes it moves into the new middle.
> 
> with tables i simple make a table 100% height and width.
> then put a fixed width table inside it with postition set to centre
> 
> i can only find info on centering columns
> 
> thank you
> 
> *
> The discussion list for http://webstandardsgroup.org/
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
> * 
> 
> 
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*



RE: [WSG] centering an element

2004-05-12 Thread Miles Tillinger
and then in finding the quirksmode url I found this!

http://vmalek.murphy.cz/

Has anyone discovered any issues with this method?

> -Original Message-
> From: glenn [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 13, 2004 11:35 AM
> To: [EMAIL PROTECTED]
> Subject: [WSG] centering an element
> 
> 
> i am trying to center an element in the middle of the screen using 
> css...
> when the browser resizes it moves into the new middle.
> 
> with tables i simple make a table 100% height and width.
> then put a fixed width table inside it with postition set to centre
> 
> i can only find info on centering columns
> 
> thank you
> 
> *
> The discussion list for http://webstandardsgroup.org/
> See http://webstandardsgroup.org/mail/guidelines.cfm
> for some hints on posting to the list & getting help
> * 
> 
> 
*
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
*