In article <6h************@mid.individual.net>,
Barely Audible <so*******@overthe.rainbowwrote:
dorayme wrote:
In article <6h************@mid.individual.net>,
Cough <co***@mouthsound.comwrote:
Jukka K. Korpela wrote:
Barely Audible wrote:
I'm trying to put a border along the bottom of a table and am using
the following as its class.
TABLE.jedheader{
[...]
An example is here - http://www.jedsite.info/content/test.html
The string "jedheader" does not appear anywhere in the HTML document, so
you have no such class. Hence the CSS rule has no effect.
What am I doing wrong?
Quite a many things, including pointless use of tables for layout.
Yucca
Jeez! ... all you can do is
What do you mean "all you can do"? He did more than the bit you object
to. Look again. Be fair!
Ok maybe I was a tiny bit unfair as he had obviously checked the page
when I had changed the class back to the old one whiler I tinkered with it.
But the fact remains that all he did was criticise and not offer any
practical help - for instance I'm still wondering why it is a 'pointless
use of tables'?.
I am not on this earth to defend JK but fair is fair and you got very
mild. Stick around kid and see what you can get around this wild west
town here.... <g>.
Having got the tip that there is an issue about tables being used to lay
pages out you can google some material up. When I typed "tables and
webpages" into my google bar, the very first link came up as:
"Web Page Layouts Shouldn't Use Tables - Avoid Tables for Web Page ..."
So you can see it is a known, super-trodden issue. It is hard for folk
here to maintain a youthful energy and some of the older hands (with the
ability to really help out in a crisis) naturally prefer to refer rather
to explain about some of these very big issues that have developed such
a literature. OK?
Now, about the mention of the doctype, this is another one of those
issues that you might get up to speed with. If you don't have time to
study this issue, I sympathise, and I will give you some simple advice.
Use 4.01 Strict for the foreseeable future and have as a friend
<http://jigsaw.w3.org/css-validator/>
and
<http://validator.w3.org/>
There is a great deal wrong with your markup (it is hugely broken in my
browsers) and even I have no time to go through every issue at the
moment. I have completely exhausted myself teasing two of the regulars
here on one incredible non-issue and talking to myself at length but
publicly yet again about a serious issue, ordered lists. <g>
As for your very specific issue, you have no style assigned to
jedheader. Do one of two things:
Remove your
class="jedheader"
and substitute
style="border-bottom: 8px solid #ccc;"
or whatever sort of border you want.
And good luck!
--
dorayme