HTML Table Borders
HTML tables can have borders of different styles and shapes.
How To Add a Border
When you add a border to a table, you also add borders around each table cell:
To add a border, use the CSS border
property on table
, th
, and td
elements:
Example
table, th, td {
border: 1px solid black;
}
Collapsed Table Borders
To avoid having double borders like in the example above, set the CSS border-collapse
property to collapse
.
This will make the borders collapse into a single border:
Example
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}
Style Table Borders
If you set a background color of each cell, and give the border a white color (the same as the document background), you get the impression of an invisible border:
Example
table, th, td {
border: 1px solid white;
border-collapse: collapse;
}
th, td {
background-color: #96D4D4;
}
Round Table Borders
With the border-radius
property, the borders get rounded corners:
Example
table, th, td {
border: 1px solid black;
border-radius: 10px;
}
Skip the border around the table by leaving out table
from the css selector:
Example
th, td {
border: 1px solid black;
border-radius: 10px;
}
Dotted Table Borders
With the border-style
property, you can set the appereance of the border.
The following values are allowed:
dotted
dashed
solid
double
groove
ridge
inset
outset
none
hidden
Example
th, td {
border-style: dotted;
}
Border Color
With the border-color
property, you can set the color of the border.
Example
th, td {
border-color: #96D4D4;
}
51 Responses
order levaquin 500mg levofloxacin 250mg without prescription
dutasteride generic brand celecoxib cost ondansetron 8mg
spironolactone 25mg brand spironolactone 25mg tablet diflucan 100mg uk
buy acillin cheap cephalexin 125mg erythromycin 250mg pills
order fildena for sale buy fildena 50mg online cheap buy methocarbamol online
sildenafil 100mg cost oral suhagra 50mg buy estrace for sale
lamotrigine 200mg canada cost vermox tretinoin cream usa
buy generic tadalis order tadalafil 20mg pills order voltaren 100mg online
accutane order zithromax 500mg brand order zithromax generic
indocin pill order terbinafine 250mg for sale trimox price
buy cialis 5mg sale what is tadalafil order sildenafil 50mg for sale
arimidex 1mg price Order viagra order sildenafil online
tadalafil 40mg sans ordonnance en france cialis 40mg sans ordonnance en pharmacie sildenafil 100mg sans ordonnance en pharmacie
prednisone 10mg us order prednisone 5mg generic cheap sildenafil pill
tadalafil 20mg generika original cialis 20mg rezeptfrei sicher kaufen viagra 50mg bestellen
isotretinoin 40mg us order azithromycin ivermectin 3
provigil 200mg generic order diamox 250 mg online cheap diamox 250 mg us
order altace online ramipril 10mg generic order astelin 10 ml sprayers
clonidine ca antivert 25 mg sale tiotropium bromide 9mcg cost
buspirone price buspar 10mg cost purchase ditropan for sale
order terazosin 5mg online cheap pioglitazone 30mg drug sulfasalazine ca
order generic fosamax 35mg buy fosamax pill order famotidine 20mg without prescription
benicar 20mg without prescription diamox 250 mg pill buy acetazolamide 250 mg pills
buy tacrolimus 1mg without prescription urso 150mg cost order generic urso 300mg
imdur price buy isosorbide 20mg generic buy telmisartan 80mg pill
order bupropion online bupropion 150 mg pills buy seroquel 100mg for sale
order molnunat 200mg sale purchase naprosyn order lansoprazole 15mg generic
sertraline 100mg canada zoloft oral usa viagra overnight
salbutamol 100mcg generic viagra 50mg pills for men order sildenafil 100mg online cheap
cialis 5mg canada discount viagra pills viagra 50mg usa
naltrexone 50 mg brand revia 50mg tablet abilify canada
order avlosulfon 100 mg for sale dapsone for sale order aceon 4mg
medroxyprogesterone 5mg without prescription microzide medication buy periactin 4 mg generic
buy generic modafinil 200mg cheap stromectol 3mg cost of ivermectin 3mg tablets
buy fluvoxamine 100mg online cheap order nizoral 200 mg pills order glucotrol 5mg generic
purchase accutane pill deltasone 20mg sale purchase deltasone pills
piracetam 800mg over the counter buy piracetam 800 mg for sale sildenafil for women
order tadalafil 10mg order tadalafil 20mg for sale viagra next day
buy furosemide 40mg online cheap cost plaquenil order hydroxychloroquine pill
tadalafil 5mg pills buy clomipramine sale anafranil 25mg without prescription
aralen canada order olumiant 4mg without prescription baricitinib 4mg tablet
출장마사지
ErnestEvage
https://xn--24-7–3vefjh5cxa7amcku4ap.xn--p1ai
https://xn—24-7-4vevhge6enkbeai0a1a5dye2c.xn--p1ai
https://xn—24-7-3vebnd9cxa7amcgy4al.xn--p1ai
https://xn—-24-7-2nfbpd5dza0bncg0a6al.xn--p1ai
https://xn—-24-7-3nfzigf2folbfai2a2a8d2e3c.xn--p1ai
https://xn—24-7-3vebahb3baz2czbsdzdf9b3a4x.xn--p1ai/
https://xn—24-7-3vebi7a0c8ajhwdyl9mh.xn--p1ai/
ErnestEvage
https://xn--24-7–3vefjh5cxa7amcku4ap.xn--p1ai
https://xn—24-7-3vebahb3baz2czbsdzdf9b3a4x.xn--p1ai/
https://xn—24-7-4vevhge6enkbeai0a1a5dye2c.xn--p1ai
https://xn—-24-7-2nfbpd5dza0bncg0a6al.xn--p1ai
https://xn—24-7-3vebi7a0c8ajhwdyl9mh.xn--p1ai/
https://xn—24-7-3vebnd9cxa7amcgy4al.xn--p1ai
https://xn—-24-7-3nfzigf2folbfai2a2a8d2e3c.xn--p1ai
cialis 5 mg precio cialis 5 mg comprar cialis 5 mg
That is a beautiful shot with very good light 🙂
https://kormoran1.online
https://seo-top-site.ru
https://seo-privat.ru
https://goodyear1.online
https://mytop-site.ru
https://sekup.ru
https://tireservice1.online
https://akita-kennel.ru
https://testcars.ru
https://cordiant-1.online
https://hankook1.online
https://domodedovo2012.ru
https://nokian1.online
https://vash1host.ru
https://bridgestone2.ru
https://prodvizhenie-sait.ru
https://kupitshin.online
https://toyo1.online
https://yokohama1.online
https://pirelli1.online
https://o-dom2.ru
https://michelin1.online
https://yokohama1.online
спортивные шины маршал
внедорожные шины kormoran
BrucePibre
https://cordiant-1.online
частный сео оптимизатор
яндекс подсказка москва top programs ru
https://prodvizhenie-sait.ru
летние шины 195 55 15
viatti brina 521 195 65 15
Jefferyrex
https://mytop-site.ru
продвижение рекламное агентство
компании по продвижению сайтов в москве
https://domodedovo2012.ru
зимняя резина триангл
зимние шины виатти
BrucePibre
https://vash1host.ru
комплексное продвижение сайта в поисковых системах
раскрутка сайта сео продвижение
https://bridgestone2.ru
покрышки nokian tyres
cordiant winter drive
Georgedrait
https://toyo1.online
создание и продвижение сайтов в москве
разработка и продвижение
ErnestEvage
https://xn—24-7-4vevhge6enkbeai0a1a5dye2c.xn--p1ai
https://xn—-24-7-3nfzigf2folbfai2a2a8d2e3c.xn--p1ai
https://xn—24-7-3vebi7a0c8ajhwdyl9mh.xn--p1ai/
https://xn--24-7–3vefjh5cxa7amcku4ap.xn--p1ai
https://xn—24-7-3vebnd9cxa7amcgy4al.xn--p1ai
https://xn—24-7-3vebahb3baz2czbsdzdf9b3a4x.xn--p1ai/
https://xn—-24-7-2nfbpd5dza0bncg0a6al.xn--p1ai