I'm looking for some way to create a css border that is very thin.
When you do a regualr border=1 it is thick.
Any suggestions?
Thank you for your help.
Anthony
css
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
Code: Select all
table
{
border: 1px solid black;
}-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
that code will apply to all tables by default. If you want to restrict it down, you can use something like:
Code: Select all
table#some_id,
/* or */
table.some_class_name
{
/* css here */
}I would do it by adding this to the <style> declaration (or css file):then editing the table so it says
If you want every table on the page to automatically look like that, then you just need to add this to the style:
And you don't need to change your tables at all.
Code: Select all
.thinBorder
{
border:1px solid black;
}Code: Select all
<Table class="thinBorder" cellspacing=...>Code: Select all
table
{
border:1px solid black;
}