HighDots Forums  

Bottom borders

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Bottom borders in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Barely Audible
 
Posts: n/a

Default Bottom borders - 08-30-2008 , 12:40 PM






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

Reply With Quote
  #2  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Bottom borders - 08-30-2008 , 12:46 PM






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{
[...]
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



Reply With Quote
  #3  
Old   
Cough
 
Posts: n/a

Default Re: Bottom borders - 08-30-2008 , 04:36 PM



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! 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.


Reply With Quote
  #4  
Old   
Jukka K. Korpela
 
Posts: n/a

Default Re: Bottom borders - 08-30-2008 , 05:13 PM



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.



Reply With Quote
  #5  
Old   
dorayme
 
Posts: n/a

Default Re: Bottom borders - 08-30-2008 , 07:41 PM



In article <6hto2bFnf0eoU1 (AT) mid (DOT) individual.net>,
Cough <cough (AT) mouthsound (DOT) com> wrote:

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!

--
dorayme


Reply With Quote
  #6  
Old   
Barely Audible
 
Posts: n/a

Default Re: Bottom borders - 08-31-2008 , 04:50 AM



dorayme wrote:
Quote:
In article <6hto2bFnf0eoU1 (AT) mid (DOT) individual.net>,
Cough <cough (AT) mouthsound (DOT) com> wrote:

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'?.


Reply With Quote
  #7  
Old   
dorayme
 
Posts: n/a

Default Re: Bottom borders - 08-31-2008 , 05:50 AM



In article <6hv4asFnq8e7U1 (AT) mid (DOT) individual.net>,
Barely Audible <somewhere (AT) overthe (DOT) rainbow> wrote:

Quote:
dorayme wrote:
In article <6hto2bFnf0eoU1 (AT) mid (DOT) individual.net>,
Cough <cough (AT) mouthsound (DOT) com> wrote:

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


Reply With Quote
  #8  
Old   
dorayme
 
Posts: n/a

Default Re: Bottom borders - 08-31-2008 , 06:15 AM



In article <doraymeRidThis-EDEEA1.19504731082008 (AT) web (DOT) aioe.org>,
dorayme <doraymeRidThis (AT) optusnet (DOT) com.au> wrote:

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


Reply With Quote
  #9  
Old   
Barely Audible
 
Posts: n/a

Default Re: Bottom borders - 08-31-2008 , 12:00 PM



dorayme wrote:
Quote:
In article <doraymeRidThis-EDEEA1.19504731082008 (AT) web (DOT) aioe.org>,
dorayme <doraymeRidThis (AT) optusnet (DOT) com.au> wrote:

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...


Reply With Quote
  #10  
Old   
Molly Mockford
 
Posts: n/a

Default Re: Bottom borders - 08-31-2008 , 01:42 PM



At 20:15:47 on Sun, 31 Aug 2008, dorayme
<doraymeRidThis (AT) optusnet (DOT) com.au> wrote in
<doraymeRidThis-52308D.20154731082008 (AT) web (DOT) 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.)


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.