Bottom borders

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Barely Audible

    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
  • Jukka K. Korpela

    #2
    Re: Bottom borders

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

    Comment

    • Jonathan N. Little

      #3
      Re: Bottom borders

      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

      Comment

      • Cough

        #4
        Re: Bottom borders

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

        Comment

        • Jukka K. Korpela

          #5
          Re: Bottom borders

          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.

          Comment

          • dorayme

            #6
            Re: Bottom borders

            In article <6hto2bFnf0eoU1 @mid.individual .net>,
            Cough <cough@mouthsou nd.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 {
            [...] 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

            Comment

            • Barely Audible

              #7
              Re: Bottom borders

              dorayme wrote:
              In article <6hto2bFnf0eoU1 @mid.individual .net>,
              Cough <cough@mouthsou nd.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.jedhea der{
              >>[...]
              >>>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'?.

              Comment

              • dorayme

                #8
                Re: Bottom borders

                In article <6hv4asFnq8e7U1 @mid.individual .net>,
                Barely Audible <somewhere@over the.rainbowwrot e:
                dorayme wrote:
                In article <6hto2bFnf0eoU1 @mid.individual .net>,
                Cough <cough@mouthsou nd.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.jedhead er{
                >[...]
                >>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.or g/>

                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="jedheade r"

                and substitute

                style="border-bottom: 8px solid #ccc;"

                or whatever sort of border you want.

                And good luck!

                --
                dorayme

                Comment

                • dorayme

                  #9
                  Re: Bottom borders

                  In article <doraymeRidTh is-EDEEA1.19504731 082008@web.aioe .org>,
                  dorayme <doraymeRidThis @optusnet.com.a uwrote:
                  Do one of two things:
                  >
                  Remove your
                  >
                  class="jedheade r"
                  >
                  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="jedheade r"

                  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

                  Comment

                  • Barely Audible

                    #10
                    Re: Bottom borders

                    dorayme wrote:
                    In article <doraymeRidTh is-EDEEA1.19504731 082008@web.aioe .org>,
                    dorayme <doraymeRidThis @optusnet.com.a uwrote:
                    >
                    >Do one of two things:
                    >>
                    >Remove your
                    >>
                    >class="jedhead er"
                    >>
                    >and substitute
                    >>
                    >style="borde r-bottom: 8px solid #ccc;"
                    >>
                    >or whatever sort of border you want.
                    >
                    You see how tired I am, I forget the other thing:
                    >
                    Leave
                    >
                    class="jedheade r"
                    >
                    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...

                    Comment

                    • Molly Mockford

                      #11
                      Re: Bottom borders

                      At 20:15:47 on Sun, 31 Aug 2008, dorayme
                      <doraymeRidThis @optusnet.com.a uwrote in
                      <doraymeRidTh is-52308D.20154731 082008@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.)

                      Comment

                      • dorayme

                        #12
                        Re: Bottom borders

                        In article <66HIX4qRgtuIFw +j@molly.mockfo rd>,
                        Molly Mockford <nospamnobody@m ollymockford.me .ukwrote:
                        At 20:15:47 on Sun, 31 Aug 2008, dorayme
                        <doraymeRidThis @optusnet.com.a uwrote in
                        <doraymeRidTh is-52308D.20154731 082008@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

                        Comment

                        Working...