Reply
cell borders
Old 11-14-2006, 03:19 AM cell borders
Novice Talker

Posts: 7
I am using dreamweaver to create a webpage. I want the table border to be black but I do not want the cells to have borders so I set them to white. It looks fine in internet explorer but the borders still show in a greyish color in mozilla and netscape. Can anyone help? Thanks
edtybor is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
Old 11-14-2006, 09:03 PM Re: cell borders
Junior Talker

Posts: 2
You should be able to specify a single border on the outside of a table using CSS. I would avoid trying to style something that doesn't need style. Try this:

HTML Code:
<table style="border:1px solid black;">
    <tr>
        <td>cell 1</td>
        <td>cell 2</td>
        <td>cell 3</td>
    </tr>
</table>
You can also pull this style out into a linked style sheet.

HTML Code:
#my_table {
     border:1px solid black;
}
HTML Code:
<table id="my_table">
    <tr>
        <td>cell 1</td>
        <td>cell 2</td>
        <td>cell 3</td>
    </tr>
</table>
trandrus is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to cell borders
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10872 seconds with 12 queries