Connecting Tech Pros Worldwide Help | Site Map

Bottom borders

Barely Audible
Guest
 
Posts: n/a
#1: Aug 30 '08
Something probably simple but I'm still grappling with CSS...

I'm trying to put a border along the bottom of a table and am using the
following as its class.

TABLE.jedheader{
width: 100%;
border-bottom-style: solid ;
border-bottom-color: black;
border-bottom-width: 2px;
}

An example is here - http://www.jedsite.info/content/test.html

What am I doing wrong?

TTFN
Whisper
Jukka K. Korpela
Guest
 
Posts: n/a
#2: Aug 30 '08

re: Bottom borders


Barely Audible wrote:
Quote:
I'm trying to put a border along the bottom of a table and am using
the following as its class.
>
TABLE.jedheader{
[...]
Quote:
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.
Quote:
What am I doing wrong?
Quite a many things, including pointless use of tables for layout.

Yucca

Jonathan N. Little
Guest
 
Posts: n/a
#3: Aug 30 '08

re: Bottom borders


Barely Audible wrote:
Quote:
Something probably simple but I'm still grappling with CSS...
>
I'm trying to put a border along the bottom of a table and am using the
following as its class.
>
TABLE.jedheader{
width: 100%;
border-bottom-style: solid ;
border-bottom-color: black;
border-bottom-width: 2px;
}
>
An example is here - http://www.jedsite.info/content/test.html
>
What am I doing wrong?
Several things, but to your immediate question you have no table of
class "jedheader" on the page. Rule will never be applied.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">

Hmmmm time to update maybe?

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Cough
Guest
 
Posts: n/a
#4: Aug 30 '08

re: Bottom borders


Jukka K. Korpela wrote:
Quote:
Barely Audible wrote:
>
Quote:
>I'm trying to put a border along the bottom of a table and am using
>the following as its class.
>>
>TABLE.jedheader{
[...]
Quote:
>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.
>
Quote:
>What am I doing wrong?
>
Quite a many things, including pointless use of tables for layout.
>
Yucca
Jeez! Its obvious the guy needs some help and all you can do is behave like
you got impossibly low scores on your personality tests...

You probably won't be the last one.
Jukka K. Korpela
Guest
 
Posts: n/a
#5: Aug 30 '08

re: Bottom borders


Cough wrote:
Quote:
Jeez! Its obvious the guy needs some help and all you can do is
behave like you got impossibly low scores on your personality tests...
You get a score of -100 in decent behavior by insulting a person so that you
yourself hide behind fake identity.

Thank you for making it so clear you can and should be ignored.

dorayme
Guest
 
Posts: n/a
#6: Aug 31 '08

re: Bottom borders


In article <6hto2bFnf0eoU1@mid.individual.net>,
Cough <cough@mouthsound.comwrote:
Quote:
Jukka K. Korpela wrote:
>
Quote:
Barely Audible wrote:
Quote:
I'm trying to put a border along the bottom of a table and am using
the following as its class.
>
TABLE.jedheader{
[...]
Quote:
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.
Quote:
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!

--
dorayme
Barely Audible
Guest
 
Posts: n/a
#7: Aug 31 '08

re: Bottom borders


dorayme wrote:
Quote:
In article <6hto2bFnf0eoU1@mid.individual.net>,
Cough <cough@mouthsound.comwrote:
>
Quote:
>Jukka K. Korpela wrote:
>>
Quote:
>>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'?.
dorayme
Guest
 
Posts: n/a
#8: Aug 31 '08

re: Bottom borders


In article <6hv4asFnq8e7U1@mid.individual.net>,
Barely Audible <somewhere@overthe.rainbowwrote:
Quote:
dorayme wrote:
Quote:
In article <6hto2bFnf0eoU1@mid.individual.net>,
Cough <cough@mouthsound.comwrote:
Quote:
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
dorayme
Guest
 
Posts: n/a
#9: Aug 31 '08

re: Bottom borders


In article <doraymeRidThis-EDEEA1.19504731082008@web.aioe.org>,
dorayme <doraymeRidThis@optusnet.com.auwrote:
Quote:
Do one of two things:
>
Remove your
>
class="jedheader"
>
and substitute
>
style="border-bottom: 8px solid #ccc;"
>
or whatever sort of border you want.
You see how tired I am, I forget the other thing:

Leave

class="jedheader"

and

put

jedheader {border-bottom: 8px solid #ccc;} in your stylesheet.

Look up "css stylesheet" at

<http://htmldog.com/guides/cssbeginner/>

Time for a movie, I think the lovely Grace Kelly, Bing Crosby (he does
have a voice!), Frank Sinatra (so does he) and Satchmo (he has a lot of
everything) are on tonight. I suppose you might be able to guess or look
up which film. I don't think it is one of the best. But they all have
been in great movies at least... <g>

--
dorayme
Barely Audible
Guest
 
Posts: n/a
#10: Aug 31 '08

re: Bottom borders


dorayme wrote:
Quote:
In article <doraymeRidThis-EDEEA1.19504731082008@web.aioe.org>,
dorayme <doraymeRidThis@optusnet.com.auwrote:
>
Quote:
>Do one of two things:
>>
>Remove your
>>
>class="jedheader"
>>
>and substitute
>>
>style="border-bottom: 8px solid #ccc;"
>>
>or whatever sort of border you want.
>
You see how tired I am, I forget the other thing:
>
Leave
>
class="jedheader"
>
and
>
put
>
jedheader {border-bottom: 8px solid #ccc;} in your stylesheet.
>
Look up "css stylesheet" at
>
<http://htmldog.com/guides/cssbeginner/>
>
Time for a movie, I think the lovely Grace Kelly, Bing Crosby (he does
have a voice!), Frank Sinatra (so does he) and Satchmo (he has a lot of
everything) are on tonight. I suppose you might be able to guess or look
up which film. I don't think it is one of the best. But they all have
been in great movies at least... <g>
>
Thanks! I think I have it...
Molly Mockford
Guest
 
Posts: n/a
#11: Aug 31 '08

re: Bottom borders


At 20:15:47 on Sun, 31 Aug 2008, dorayme
<doraymeRidThis@optusnet.com.auwrote in
<doraymeRidThis-52308D.20154731082008@web.aioe.org>:
Quote:
>Time for a movie, I think the lovely Grace Kelly, Bing Crosby (he does
>have a voice!), Frank Sinatra (so does he) and Satchmo (he has a lot of
>everything) are on tonight. I suppose you might be able to guess or look
>up which film. I don't think it is one of the best. But they all have
>been in great movies at least... <g>
You've got "High Society" on TV tonight? Wll, I suppose there must be
some compensations for living in Oz!
--
Molly Mockford
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety - Benjamin Franklin
(My Reply-To address *is* valid, though may not remain so for ever.)
dorayme
Guest
 
Posts: n/a
#12: Aug 31 '08

re: Bottom borders


In article <66HIX4qRgtuIFw+j@molly.mockford>,
Molly Mockford <nospamnobody@mollymockford.me.ukwrote:
Quote:
At 20:15:47 on Sun, 31 Aug 2008, dorayme
<doraymeRidThis@optusnet.com.auwrote in
<doraymeRidThis-52308D.20154731082008@web.aioe.org>:
>
Quote:
Time for a movie, I think the lovely Grace Kelly, Bing Crosby (he does
have a voice!), Frank Sinatra (so does he) and Satchmo (he has a lot of
everything) are on tonight. I suppose you might be able to guess or look
up which film. I don't think it is one of the best. But they all have
been in great movies at least... <g>
>
You've got "High Society" on TV tonight? Wll, I suppose there must be
some compensations for living in Oz!
I understand bitter winter is approaching in my old haunt, pommy land.
Cheer up Molly, it will only be for the next 6 months or so and the
Russians might not choke off fuel supplies to Europe. I can't describe
how lovely the day is here this Monday morn in Sydney. I can tell you
that I have overhead many conversations in the street outside with bits
of them that go something like "Yes! This is confirmation that God made
Adam and Eve in the lovely Garden in Sydney. <g>

It was not on TV.

High Society was more a mildly interesting phenomenum than a great
movie. I liked seeing the routine of Frank Sinatra and the saucy
Celeste Holme doing "Who wants to be a millionare" and Bing with Satchmo
doing "All that Jazz" and I quite liked it when Bing knocked out Sinatra
to save him from the an enraged fiance who was about to knock him out
harder still...

--
dorayme
Closed Thread