WordPress CSS - Borders Within Posts

Discussion in 'CSS' started by Pacific Publishing, Aug 1, 2008.

  1. #1
    I'd like to add borders around the eBay listings in my posts:
    http://obsessionfitness.com/stamina...ecumbent-bike-quiet-inexpensive-space-saving/

    The quote below is from another site owner using the same WordPress Plugin. I can't figure this out...or my template is different. Any help is appreciated.
    --------------------------------

    "The listings are put in tables automatically by PHPbay with the image being in one cell and the listing details in the other. So I just use CSS in the stylesheet to state what it should be.

    For my theme each post is contained within a Div cell which has the class "post". So my stylesheet has the code:

    .post td
    {
    border: 2px solid #FFEACC;
    }
     
    Pacific Publishing, Aug 1, 2008 IP
  2. wendong

    wendong Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    good! that's cool!!
     
    wendong, Aug 2, 2008 IP
  3. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Try adding this to layout.css:
    
    table {
    	border: thin solid #000;
    }
    
    Code (markup):
     
    Cash Nebula, Aug 2, 2008 IP
    Pacific Publishing likes this.
  4. Pacific Publishing

    Pacific Publishing Banned

    Messages:
    330
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    That worked. Thanks.
     
    Pacific Publishing, Aug 2, 2008 IP
  5. Cash Nebula

    Cash Nebula Peon

    Messages:
    1,197
    Likes Received:
    67
    Best Answers:
    0
    Trophy Points:
    0
    #5
    No trouble. Thanks for the rep. :)
     
    Cash Nebula, Aug 2, 2008 IP