Table borders in HTML, I want to style a table but don't know how |
Table borders in HTML, I want to style a table but don't know how |
Shminglebaart |
Oct 6 2006, 10:17 AM
Post
#1
|
Group: Members Posts: 2 Joined: 6-October 06 Member No.: 351 |
Hi folks, i'm new to this forum so be nice.
I'm just trying to style a table, nothing too complicated but if you go for border="1", you get that crappy looking white border with fake shadow, but I rather fancy a nice thin grey or green number, just a single line. Any ideas? |
Darin McGrew |
Oct 6 2006, 10:23 AM
Post
#2
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
You can use CSS. See the FAQ entry Where can I learn about CSS? and the section on Box Properties in our CSS guide.
|
Christian J |
Oct 6 2006, 11:12 AM
Post
#3
|
. Group: WDG Moderators Posts: 9,630 Joined: 10-August 06 Member No.: 7 |
Also note that in CSS you style the whole table and its individual cells separately. You may also want to use the border-collapse property to avoid doubled lines between a cell and the table container.
|
Lo-Fi Version | Time is now: 28th March 2024 - 03:03 PM |