English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I'm looking to put a rim around the inside of the border of an HTML table using CSS. I don't want cell padding (the one that puts space between each of the cells), I just want a 10px or so space between the border and the outer most cells. Thanks for the help!! this problem has been driving me crazy for hours.

2006-07-25 15:57:25 · 2 answers · asked by Brady 3 in Computers & Internet Internet

Anyway to do it without nested tables?

2006-07-30 10:41:35 · update #1

2 answers

Use nested tables. The border is on the outside table, and the margin is on the inside table.















Test Test
Test Test

2006-07-26 07:53:00 · answer #1 · answered by roncli 2 · 0 0

Use CSS to stipulate the kinds of the rows and table.

#substantial { border-provide way: provide way; border: 1px good #000000; width: one hundred%; } #substantial td { border-left: 1px good #000000; border-proper: 1px good #000000; history-colour: #FFF; } #substantial th { border: 1px good #000000; history-colour: #8AF; }

2016-11-03 00:23:57 · answer #2 · answered by fleitman 4 · 0 0

fedest.com, questions and answers