![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Here's the site (only one page right now): http://www.value1.com/forums/ultimatebb.cgi |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
That's what I mean, but how does one get it to actually work in Netscape in Opera? In fact, never mind Opera. Netscape is fine. I'm using this: .tableBlack{ border: 1px solid #000000; } http://www.scottspain.com/comphelp/blackborder_bad.jpg. Notice how only the top/left are truly solid. Does that make sense? |
#5
| |||
| |||
|
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Right now I'm doubling up: table border="1" cellpadding="0" cellspacing="0" bordercolor="#000000" class="tableBlack" and .tableBlack{ border-top: 1px solid #000000; border-right: 1px solid #000000; border-bottom: 1px solid #000000; border-left: 1px solid #000000; } Initially I just had this as the CSS: border: 1px solid solid #000000; But I thought I'd try mixing it up a bit... Didn't help. |
#8
| |||
| |||
|
|
That's what I mean, but how does one get it to actually work in Netscape in Opera? In fact, never mind Opera. Netscape is fine. I'm using this: .tableBlack{ border: 1px solid #000000; } http://www.scottspain.com/comphelp/blackborder_bad.jpg. Notice how only the top/left are truly solid. Does that make sense? |
#9
| |||
| |||
|
|
.oO(swspain) That's what I mean, but how does one get it to actually work in Netscape in Opera? In fact, never mind Opera. Netscape is fine. I'm using this: .tableBlack{ border: 1px solid #000000; } http://www.scottspain.com/comphelp/blackborder_bad.jpg. Notice how only the top/left are truly solid. Does that make sense? Yep. When using CSS for styling borders you have to style _both_ the table- and the td/th-elements. If you want to apply a black border to them without using deprecated attributes you should use something like HTML: table class="tableBlack" ... /table CSS: .tableBlack, .tableBlack td { border: 1px solid #000; border-collapse: collapse } Also notice that "tableBlack" is a bad name for a class, because it contains presentational information. What if you want to change the border color to something different than black one day? Try to find a name that describes the meaning of the table, not its presentation. HTH Micha |
#10
| |||
| |||
|
|
Nest your table inside another table. Use bgcolor to set the color of the outer table and then make the inner table slightly smaller in width and height. You get a border that works in any browser. "Michael Fesser" <netizen (AT) gmx (DOT) net> wrote in message news:l5e7h01vgjur7tl10ott8ia4nf2jl5mrvj (AT) 4ax (DOT) com... .oO(swspain) That's what I mean, but how does one get it to actually work in Netscape in Opera? In fact, never mind Opera. Netscape is fine. I'm using this: .tableBlack{ border: 1px solid #000000; } http://www.scottspain.com/comphelp/blackborder_bad.jpg. Notice how only the top/left are truly solid. Does that make sense? Yep. When using CSS for styling borders you have to style _both_ the table- and the td/th-elements. If you want to apply a black border to them without using deprecated attributes you should use something like HTML: table class="tableBlack" ... /table CSS: .tableBlack, .tableBlack td { border: 1px solid #000; border-collapse: collapse } Also notice that "tableBlack" is a bad name for a class, because it contains presentational information. What if you want to change the border color to something different than black one day? Try to find a name that describes the meaning of the table, not its presentation. HTH Micha |
![]() |
| Thread Tools | |
| Display Modes | |
| |