|
| |
|
|
Rab Myself
Posts: 1 Joined: 6/25/2003 Status: offline
|
CSS for tables? - 6/25/2003 6:56:08
Hi, looking to brush up on my very limited knowledge of CSS and have a question. Can I effect table borders with CSS? Namely, I want to use..... .table {
border-style: dashed
border-width: 1px
} but I dont know if/how to apply it to a table. Any help appreciated. Rab.
|
|
|
|
Reflect
Posts: 4769 From: USA Status: offline
|
RE: CSS for tables? - 6/25/2003 7:17:13
quote:
but I dont know if/how to apply it to a table <table class=" table" > You can also stipulate table attributes in the table tag if needed. Brian
_____________________________
|
|
|
|
pageoneresults
Posts: 1001 From: Orange, CA USA Status: offline
|
RE: CSS for tables? - 6/25/2003 11:39:36
If all of your tables will have the border, you can do this without having to use the generic class attribute in the table code... table {
border:1px dashed #000;
} What I' ve done is used the CSS Shorthand version. Since your border is exactly the same on all four sides, Shorthand is suggested. If you want to apply the borders to specific tables, then using the generic class you have defined is applicable as Reflect points out. .table {
border:1px dashed #000;
}
_____________________________
SEO Consultants Directory Find Search Engine Marketing Companies
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|