memyselfandyou
02-29-2004, 07:47 AM
Does anyone know how to get a dashed border around a two column layout? I know how to make the layout, just not where to put the code for borders, or what it is. Thanks!
|
View Full Version : How do you make borders on CSS? memyselfandyou 02-29-2004, 07:47 AM Does anyone know how to get a dashed border around a two column layout? I know how to make the layout, just not where to put the code for borders, or what it is. Thanks! Blackdragonhide 02-29-2004, 09:32 AM on each of the table cells (<td>) put an idea or class, e.g. <td class="main"> or something. In your css put td.main {border-style:dashed; border-width:2px; border-color:#000000;} or, in shorthand (what I use) td.main {border:2px dashed #000000;} somehow, although i dont know why, "dotted" works instead of "dashed" too. MaGiCSuN 02-29-2004, 03:48 PM dotted and dashed have no difference in IE (from what i know) but in some browsers you do actually see the difference. I believe in IE you only see dashed, whether you add dotted or dashed, you will see dashed. love, Mirna |