borders with css

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • runway27
    Banned
    New Member
    • Sep 2007
    • 54

    borders with css

    i am using the following code
    =============== =============== ===============
    <tr>
    <td height="100" align="left" valign="top" style="border-left: 1px solid #999999; border-bottom:1px solid #999999; border-right:1px solid #999999;">
    </td>
    </tr>

    =============== =============== ===============

    as there is no reference to the actual style sheet the style will not appear, however my question is with the above code i am not able to get a border line on top of the table data, i have used border-top:1px solid #999999; however it does not work.

    please advice.

    thanks.
  • Death Slaught
    Top Contributor
    • Aug 2007
    • 1137

    #2
    Try removing all your border properties, and adding this.


    [CODE=css] border:1px solid #999;[/CODE]

    'border' will declare all of the borders.

    Hope it helps, Thanks, Death

    Comment

    Working...