W3C home > Mailing lists > Public > www-style@w3.org > June 2004

RE:div class and alignment

From: Sheldon Swift <weasal1046@hotmail.com>
Date: Fri, 04 Jun 2004 04:06:01 -0400
To: www-style@w3.org
Message-ID: <BAY2-F99PDcpwg5ivbG00042a71@hotmail.com>

After considering what Sean M. Hall AKA Dante said, I cannot set the top and 
left margins to exactly half the height and width of the element because we 
are talking about several different elements.  The main reason I added the 
div class to the style sheet was to eliminate the need to repeat the 
parameters for the div class in my css blend menu.  However, the problem is 
that in the stylesheet I used

div.lix {
position:absolute;
top:0px;
left:0px;
}

to eliminate slowness in IE browsers.  This leaves the menu div positioned 
correctly but offsets the site as a whole to the top left corner of the 
browser window.  I would like for it to be centered relative to the browser 
window.  I'm not sure if I'm just overlooking something in the body or if 
the stylesheet needs to be changed.  Any help would be greatly appreciated

_________________________________________________________________
Get fast, reliable Internet access with MSN 9 Dial-up  now 3 months FREE! 
http://join.msn.click-url.com/go/onm00200361ave/direct/01/
Received on Friday, 4 June 2004 04:06:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:30 GMT