wordpress tables borders

Discussion in 'HTML & Website Design' started by yokolucu, Feb 18, 2009.

  1. #1
    On my wordpress site I have got tables but I and visitors can't see table borders and background colors.How can I solve this problem?
    note:wordpress 2.7 wirh premiumnews theme
     
    yokolucu, Feb 18, 2009 IP
  2. nhc1987

    nhc1987 Notable Member

    Messages:
    2,674
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #2
    Here is the solution

    <table border="1">
    <tr><td bgcolor="#FF0000">Red background</td></tr>
    <tr><td bgcolor="#0000FF">Blue background</td></tr>
    </table>

    Hope this help :)
     
    nhc1987, Feb 18, 2009 IP
  3. yokolucu

    yokolucu Well-Known Member

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #3
    Background is ok but i can't still see borders.
     
    yokolucu, Feb 19, 2009 IP
  4. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    #4
    Maybe try it like this:

    <table border="2" cellpadding="0" cellspacing="0" bordercolor="#000000">
    <tr><td bgcolor="#FF0000">Red background</td></tr>
    <tr><td bgcolor="#0000FF">Blue background</td></tr>
    </table>

    Where bordercolor="#000000" is the color you want the border.
     
    Boulder, Feb 19, 2009 IP
  5. Luru

    Luru Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I think same you.Try to do it.
     
    Luru, Feb 19, 2009 IP
  6. eyering

    eyering Peon

    Messages:
    45
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    i think so
     
    eyering, Feb 19, 2009 IP
  7. yokolucu

    yokolucu Well-Known Member

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #7
    Thank you all contributors helping me to get solved my problem.
     
    yokolucu, Feb 19, 2009 IP
  8. dickieknee

    dickieknee Active Member

    Messages:
    441
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    80
    #8
    one of the key reason why borders cannot be turned on or off in html is due to the border being defined in CSS, solution is to control the border purely in css or remove from css so you can control it in html
     
    dickieknee, Feb 19, 2009 IP
  9. yokolucu

    yokolucu Well-Known Member

    Messages:
    105
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #9
    You are right but i couldn't find the related codes in .css in my wp theme.
     
    yokolucu, Feb 21, 2009 IP