473,385 Members | 1,357 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Bottom borders

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
Aug 30 '08 #1
11 1320
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

Aug 30 '08 #2
Barely Audible wrote:
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
Aug 30 '08 #3
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! 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.
Aug 30 '08 #4
Cough wrote:
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.

Aug 30 '08 #5
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!

--
dorayme
Aug 30 '08 #6
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'?.
Aug 31 '08 #7
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
Aug 31 '08 #8
In article <do**********************************@web.aioe.org >,
dorayme <do************@optusnet.com.auwrote:
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
Aug 31 '08 #9
dorayme wrote:
In article <do**********************************@web.aioe.org >,
dorayme <do************@optusnet.com.auwrote:
>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...
Aug 31 '08 #10
At 20:15:47 on Sun, 31 Aug 2008, dorayme
<do************@optusnet.com.auwrote in
<do**********************************@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!
--
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.)
Aug 31 '08 #11
In article <66**************@molly.mockford>,
Molly Mockford <no**********@mollymockford.me.ukwrote:
At 20:15:47 on Sun, 31 Aug 2008, dorayme
<do************@optusnet.com.auwrote in
<do**********************************@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!
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
Aug 31 '08 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Michael Winter | last post by:
I have the familiar 'thumbnail' scenario. I want to place a small border around the image when the cursor hovers above it. I use a 1 pixel, solid border around the image that changes between normal...
19
by: A.Translator | last post by:
I have an unordered list as menu and want some space at the bottom, underneath the last <li>. I have tried: setting bottom-margin to ul setting bottom-margin to containing <div> setting padding...
11
by: Stephen Poley | last post by:
I'd like to float an image to the bottom of a DIV containing several paragraphs, so that it is positioned to the right of the closing paragraphs (and preferably below the closing paragraphs if the...
1
by: Glen Vermeylen | last post by:
Hi, For a project at school we have to automate the assignment of seats in classrooms to students during the exams. The lady who previously did everything manually kept the layouts of the...
26
by: meltedown | last post by:
I have 2 left floating divs on a page. Sometime the left side is larger, sometimes the right side is larger. I want the page to have a margin at the bottom of whichever div is the largest. If I...
2
by: Patrick Sullivan | last post by:
Hi people, I've been trying to get the text of a menu list to align at the bottom of a table cell. Can't get to work with html or css and html. Menu should be lined up with bottom right of logo....
16
by: FuzzyLogik | last post by:
By width, I don't mean weight. I have a row of <li>'s, with a bottom-border. I want the bottom-border to only go 90% of the <li> (centered) Is there any way to do this? I have it in this...
3
by: MrNobody | last post by:
I want to have a window where there is a strip on the bottom which stays fixed height but can stretch left and right, and always anchored to bottom border. Almost like status bar but it's going to...
9
by: Michael Redbourn | last post by:
Hi, I just switched from FP to DW and am very very happy ! So whilst I'm mastering Dreamweaver (gonna be a while yet :-) - I thought that I'd try and find out how to add borders for browers...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.