Table borders in CSS

I am learning CSS and wish to put a border around selected tables using the following code:

table.sidebar
{
border: 2px black;
padding: 50px

}

Something similar to this code was working OK earlier today, but now it won't. The cell padding command works, but other tags like border, width, etc., are not. I have tried disabling all other table styles in the CSS.

Any ideas? I am using MS FrontPage 2002. Also, whys is it that when I apply a style to a table, like the one above, FrontPage puts in the following HTML code: