1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

css code for centering text, thanks!!!!

Discussion in 'Web Design & Development' started by fightin_champ, Jul 8, 2007.

Thread Status:
Not open for further replies.
  1. fightin_champ

    fightin_champ Thread Starter

    Joined:
    Jul 8, 2007
    Messages:
    6
    Hi
    if you could please look at this : http://monkeymobs.com/nokia.html
    i want to align all the text next to the phone pictures to they are centered (if you look the lines dont seem to match up well, its a bit random), could some1 please tell me the code for this.
    It is aligned correctly if veiwed in firefox but i need the code for IE7 and have made another ccs for IE7.
     
  2. namenotfound

    namenotfound

    Joined:
    Apr 30, 2005
    Messages:
    3,012
    text-align:center;

    So if you're using inline styles with a div, it would be like this:

    <div style="text-align:center;">Text here</div>
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/593229

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice