Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2007
    Posts
    166
    Tokens
    100

    Default Text aligning help crap xD


    How can I fix that because the text is more over to the rite side and looks dodgey

  2. #2
    Join Date
    Mar 2008
    Location
    Swindon, UK
    Posts
    1,274
    Tokens
    187
    Habbo
    :Ltd

    Latest Awards:

    Default

    Showing code is nice.
    Hi, names James. I am a web developer.

  3. #3
    Join Date
    Dec 2006
    Posts
    7,601
    Tokens
    95

    Latest Awards:

    Default

    either you have padding-left: Xpx; or you have text-align: right on one of the parent divs. Add text-align: left; to the div it is in unless you hare using tables in which case i cant rememebr

  4. #4
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    You should do this:

    Code:
    #divname {
    width: widthpx;
    padding-left: 5px;
    }
    Where the 5px is how far you want it from the left of the box, and the width is the width of the div/box MINUS the padding you supplied.


Posting Permissions

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