this is a site that covers several different ways to vertically center content
http://www.jakpsatweb.cz/css/css-ver...-solution.html
i am trying to vertical-align the following, but it won't work:
also, how can i make a border size smaller? right now, i have dotted, and it is too big.HTML Code:<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 </div>
lastly, how can i make a div the full height of my page content? here is my code.
Last edited by bberry91; 06 Jun 2011 at 08:25 AM.
this is a site that covers several different ways to vertically center content
http://www.jakpsatweb.cz/css/css-ver...-solution.html