May 4, 2001 #1 jeanpaul Technical User Joined Aug 13, 2000 Messages 20 Location SE Can I have a border in just one td? How do I do that? Thanks /Henrik
May 4, 2001 #2 secretsquirrel Programmer Joined Mar 22, 2001 Messages 202 Location GB You could use CSS to apply a border to just one cell, with the style looking something like: .cellwithborder { border: 2px #0000FF solid; } And then in the cell just put: <TD CLASS="cellwithborder">Content</TD> Upvote 0 Downvote
You could use CSS to apply a border to just one cell, with the style looking something like: .cellwithborder { border: 2px #0000FF solid; } And then in the cell just put: <TD CLASS="cellwithborder">Content</TD>
May 4, 2001 #3 tsdragon Programmer Joined Dec 18, 2000 Messages 5,133 Location US You can also separate out the various attributes like this: Code: .goldcell { border-width:7; border-color:#bea422; background:#dfd490; border-style:ridge; } This would give a gold cell with a wide dark ridge-style border. Tracy Dryden tracy@bydisn.com Meddle not in the affairs of dragons, For you are crunchy, and good with mustard. Upvote 0 Downvote
You can also separate out the various attributes like this: Code: .goldcell { border-width:7; border-color:#bea422; background:#dfd490; border-style:ridge; } This would give a gold cell with a wide dark ridge-style border. Tracy Dryden tracy@bydisn.com Meddle not in the affairs of dragons, For you are crunchy, and good with mustard.