Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / August 2008



Tip: Looking for answers? Try searching our database.

Bottom borders

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Barely Audible - 30 Aug 2008 17:40 GMT
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 - 30 Aug 2008 17:46 GMT
> 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
Cough - 30 Aug 2008 21:15 GMT
>> I'm trying to put a border along the bottom of a table and am using
>> the following as its class.
[quoted text clipped - 11 lines]
>
> 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 - 30 Aug 2008 22:13 GMT
> 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 - 31 Aug 2008 00:41 GMT
> >> I'm trying to put a border along the bottom of a table and am using
> >> the following as its class.
[quoted text clipped - 13 lines]
>
> 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!

Signature

dorayme

Barely Audible - 31 Aug 2008 09:50 GMT
>>>> I'm trying to put a border along the bottom of a table and am using
>>>> the following as its class.
[quoted text clipped - 13 lines]
> 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 - 31 Aug 2008 10:50 GMT
> >>>> I'm trying to put a border along the bottom of a table and am using
> >>>> the following as its class.
[quoted text clipped - 20 lines]
> 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!

Signature

dorayme

dorayme - 31 Aug 2008 11:15 GMT
> Do one of two things:
>
[quoted text clipped - 7 lines]
>
> 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>

Signature

dorayme

Barely Audible - 31 Aug 2008 17:00 GMT
>> Do one of two things:
>>
[quoted text clipped - 29 lines]
> 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 - 31 Aug 2008 18:42 GMT
At 20:15:47 on Sun, 31 Aug 2008, dorayme
<doraymeRidThis@optusnet.com.au> wrote in
<doraymeRidThis-52308D.20154731082008@web.aioe.org>:

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

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 - 31 Aug 2008 23:51 GMT
> At 20:15:47 on Sun, 31 Aug 2008, dorayme
> <doraymeRidThis@optusnet.com.au> wrote in
[quoted text clipped - 8 lines]
> 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...

Signature

dorayme

Jonathan N. Little - 30 Aug 2008 18:07 GMT
> Something probably simple but I'm still grappling with CSS...
>
[quoted text clipped - 11 lines]
>
> 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?

Signature

Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.