View Full Version : css issues

06 Jun 2011, 08:36 AM
i am trying to vertical-align the following, but it won't work:

<div id="text" style="width:200px; text-align:center; color:#000; z-index:4; position:absolute; height:25px; vertical-align:middle;">
$usagePercent = 55;
echo $usagePercent; ?>% in use

also, how can i make a border size smaller? right now, i have dotted, and it is too big.

lastly, how can i make a div the full height of my page content? here is my code (http://pastebin.com/X4b23cu4).

06 Jun 2011, 06:14 PM
this is a site that covers several different ways to vertically center content