Previous Message
Next Message

Centre a Div

Sent by Felix Miata on 26 March 2006 03:03


On 06/03/25 20:30 Joanne apparently typed:

> I'm just reading a tutorial that tells me to:
> "Wrap the whole page in a centering, relatively positioned <div>,"

> I have the code for the relative position, but I don't know how to center
> the div.

> <div id="everything"></div>

> #everything{
> position: relative;}

> The learning curve for designing without tables is a steep one :)

Have you tried our wiki?
http://css-discuss.incutio.com/?page=CenteringBlockElement
-- 
"Blessed are they whose ways are blameless, who walk according
to the law of the Lord."	        	Psalm 119:11 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://mrmazda.no-ip.com/auth/auth
______________________________________________________________________
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/
Previous Message
Next Message

Message thread: