Sent by ZEFXIS - Nick Mavros on 4 January 2005 09:09
In order to center a page I created a <div id="center"> right after the
<body> and used the following rules :
#center {
position: absolute;
left: 50%;
width: 775px;
margin-left: -387px; /* width/2 */
padding: 0;
text-align: left;
z-index: 10;
}
I also placed the "text-align: center;" in the body rules.
It works Ok in both IE and FF but in IE I can't select any text (actually I
can select "some text" but in a very "unordered" way).
In FF of course I can select any text I like...
Is there a way to fix that?
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/