> > I get 50px margin left and right, but none on top and botton, 
> > how do I make
> > this happen?
> > 
> >         .cartButtons {
> >             color: #006600;
> >             font-weight: bold;
> >             border: 1px solid #006600;
> >             display: inline;
> >             padding: 2px;
> >             margin: 50px;
> >             background-color: #66CC00;
> >         
> >         }        
> >                 
> > <table style="border: 1px solid black;">
> >     <tr>
> >         <td>
> >             <a href="#" class="cartButtons">Update Qunatity</a>
> >             <a href="#" class="cartButtons">Update Qunatity</a>
> >             <a href="#" class="cartButtons">Update Qunatity</a>
> >         </td>
> >     </tr>    
> > </table>
> 
> Scott-
> 
> I think you'll want to use border-spacing: 50px; on your 
> <td>'s along with a
> border-collapse: separate; on your table.

Actually, I misspoke. The border-spacing property should be applied to the
<table> tag. It is, however, NOT supported by IE6. To get the correct
spacing in IE you will have to resort to the old html "cellspacing" tag.

In your example above, you only have one <td> though. If its to remain like
that with no additional <td>'s being added to the table, you might just want
to add padding:50px; to the table itself, which again, seems to not be
supported in IE6.

Regards,
Ron

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to