[thelist] vertical aligning a div contents with css

Jacob Metcalf jmetcalf at northsound.net
Thu Sep 26 16:12:01 CDT 2002


Try setting the top padding of the CSS class
Like so

.aaa {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000000;
height: 500px;
width: 200px;
border-style: outset;
border-top-width: 2px;
border-right-width: 2px;
border-bottom-width: 2px;
border-left-width: 2px;
padding-top: 150px; <-- This is what I am talking about.
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
}

Jacob Metcalf
http://www.8bitjoystick.com/ Press Start to Play

==============================================
Webmail Provided by NorthsoundNet Internet Services *** Western
Washington's Local Internet Provider ***  http://www.Northsound.net




More information about the thelist mailing list