Results 1 to 2 of 2

Thread: css issues

  1. #1
    Join Date
    Jun 2010
    Posts
    243

    css issues

    i am trying to vertical-align the following, but it won't work:

    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>
    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.
    Last edited by bberry91; 06 Jun 2011 at 08:25 AM.

  2. #2
    bizomedia is offline New Member: Posts Will Be Moderated
    Join Date
    Jun 2011
    Posts
    4
    this is a site that covers several different ways to vertically center content

    http://www.jakpsatweb.cz/css/css-ver...-solution.html

Similar Threads

  1. CSS Issues with IE
    By ferero in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 23 Aug 2010, 09:20 AM
  2. Major CSS issues
    By joomlavideotuts in forum Web Design, HTML Reference and CSS
    Replies: 1
    Last Post: 07 Aug 2009, 04:08 AM
  3. CSS sizing issues+
    By sicojola in forum Web Design, HTML Reference and CSS
    Replies: 0
    Last Post: 26 Feb 2006, 05:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •