Doug Niven wrote:
> Hi Folks,
>
> I hate to ask such a seemingly simple question but I've spent a few hours
> trying to make this work and have run out of ideas.
>
> I'm trying to create table borders inside and out 1px thick, like the
> following:
>
> http://stinkyrat.com/css_borders.html
>
> The above is a graphic done in Photoshop, but I'd like to recreate this in
> CSS.
>
> If anyone could help, I'd be much obliged.
>
> Thanks in advance,
>
> Doug
> Santa Cruz, CA
>
>
>   
If you're just looking for the table styles, you have to apply the 
border styles to the table and the table cells.  You also have to set 
border collapse on.  If you want the double border look, remove the 
border-collapse style.

table {
    border: solid 1px #C0C0C0;   /* That's silver for the colour - 
substitute with your preference */
    border-collapse: collapse;
}
td {
    border: solid 1px #C0C0C0;
    padding: 3px;
}

I stuck in some padding of 3px as an example.  If that's not what you're 
after, let us know...

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

Reply via email to