Results 1 to 3 of 3

Thread: Text-Align

  1. #1
    Join Date
    Mar 2007
    Location
    Tarboro, NC
    Posts
    290
    Thanks
    8
    Thanked 2 Times in 2 Posts

    Default Text-Align

    I'm attempting to align an individual cells text, to the left. But it does nothing. I've IDed the cell as "time". Heres my CSS.

    Code:
    #time {
    text-align: left;
    }

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The default text alignment in a table cell is left. You must have something(s) else in your style and/or layout that is contradicting this and that your style for #time cannot overcome (often, this would be a class that contains the #time cell*). I would need to see your page to be more specific.



    * To fix that, change your selector to the class name followed by the id, ex:

    Code:
    .class_name #time {
    text-align:left;
    }
    Note: This is just an example of a possible solution to a possible problem. I would need to see your page to be more specific.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Mar 2007
    Location
    Tarboro, NC
    Posts
    290
    Thanks
    8
    Thanked 2 Times in 2 Posts

    Default

    Thank you, but I figured it out. I made a VERY idiotic mistake...I said left, I wanted right. So I fixed it.

Bookmarks

Posting Permissions

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