You can use border-width to change them all or individually using ordered keywords (border-width: 1px 2px 1px 6px) or, if you (like me) can never remember what order they're supposed to come in, you can use border-left-width, border-right-width, &c. to change each one individually.
There are three types of CSS: external, embedded and inline, much like Javascript.
External CSS is included in another text file, commonly with the .css extension and included in the document with <link rel="stylesheet" type="text/css" href="/path/to/file.css"/> in the head of the document.
Embedded CSS is enclosed within <style type="text/css"></style> tags in the head.
Inline CSS is set via the style= attribute of any tag. Unlike the other two types, inline CSS does not require you to specify the element to apply it to.
What you're talking about could be accomplished by inline CSS:
<table style="border-color:navy; border-width:2px;">
or external or embedded CSS, either to all tables in the page:
Code:
<style type="text/css">
table {
border-color: navy;
border-width: 2px;
}
</style>
or only to that table:
Code:
<style type="text/css">
table.thinborder {
border-width: 2px;
border-color: navy;
}
</style>
...
HTML Code:
<table class="thinborder">
CSS tutorial here.
Bookmarks