Loading ...
Sorry, an error occurred while loading the content.

learning ?

Expand Messages
  • James Holzbauer
    Hi Jody & all: Jody I hope I got the right list this time. Here s the problem: I am taking an on-line course through the local community college for basic
    Message 1 of 15 , Dec 28, 2000
    • 0 Attachment
      Hi Jody & all: Jody I hope I got the right list this time.
      Here's the problem: I am taking an on-line course through the local
      community college for basic HTML...
      Right now trying to learn "images"...the course says the image must
      reside on the same drive as the program. I found out on the list
      that that is wrong.
      I started notetab and made another folder labeled "images" and put
      a .jpg photo there. I can't access the picture with notetab.

      Here's the line:
      <img src="c:/programfiles/notetablite/images/dog_ice_cream.jpg">
      It doesn't work.
      This does:
      <img src="d:/animals/dog_ice_cream.jpg">
      the image is zip disk that I use for slow scan television (amateur
      radio)
      Where did I go wrong?
      Thanks
      de jim
    • Lotta
      Hello again James, ... Hm. I thought you meant in the same folder as the html document. I can imagine there are programs that prefer to have the documents in
      Message 2 of 15 , Dec 28, 2000
      • 0 Attachment
        Hello again James,


        >...the course says the image must reside on the same drive as the program.

        Hm. I thought you meant in the same folder as the html document. I can
        imagine there are programs that prefer to have the documents in the program
        folder but that's not usually the case and absolutely not with NTB.


        >Here's the line: <img
        >src="c:/programfiles/notetablite/images/dog_ice_cream.jpg">
        >It doesn't work.
        >This does:
        ><img src="d:/animals/dog_ice_cream.jpg">
        >the image is zip disk that I use for slow scan television (amateur
        >radio)
        >Where did I go wrong?

        I don't know, more than the folder is probably named 'program files' as
        John-Marc pointed out. Did you remember to rename the image file with
        underscores? I'm not sure what you want to do. If you want to view the
        page locally on your own machine what you do is OK once you get the paths
        right. But if you want to put it on the Internet when it's finished or
        maybe send it to someone you need to arrange things so the paths will be
        valid anywhere.

        Make a new folder somewhere where you already keep documents or on the
        desktop if you prefer. There is no need to keep anything in the NTB
        directory. Put everything related to your page that isn't already on the
        Internet in that folder. If you put the html files in the main folder and
        also put your images folder inside the main folder it makes it easy to
        write the image links and keep things orderly. You don't need to use full
        URL's or paths. You can use relative paths. Meaning that if the image is in
        the same folder you get <A href="pic.gif"> If you do what I suggest above
        the image will be one folder down in the directory structure. The tag: <A
        href="images/pic.gif">
        For each folder down from the file you link from you add a new slash and
        the name of the directory, for each folder up two dots '..' and a slash.
        The same holds true when linking between pages.

        Same directory file.ext
        One down: folder1/file.ext
        Two down folder1/folder2/file.ext
        One up ../file.ext
        Two up ../../file.ext

        NTB can insert the image tag for you with the correct path and size
        attributes. Just focus the html document and use Document | Insert HTML
        link / Image and browse to the image you want. Note that the File format
        field at the bottom of the search window must read 'All files* or 'Image
        files'. Double click on the image icon and you're done.

        Good luck
        Lotta
      • Jody
        Hi Lotta, ... So, I knew there had to be some logical system to that, but never really figured it all out. Thanks! I plugged and played normally till it
        Message 3 of 15 , Dec 28, 2000
        • 0 Attachment
          Hi Lotta,

          >Same directory file.ext
          >One down: folder1/file.ext
          >Two down folder1/folder2/file.ext
          >One up ../file.ext
          >Two up ../../file.ext

          So, I knew there had to be some logical system to that, but never
          really figured it all out. Thanks! I plugged and played
          normally till it worked for years now - just never got around to
          asking or read it anywhere. :)

          I totally agree with Lotta's on making your HTML folders/files a
          mirror image of your web site. It will save you many headaches
          in the future! If you plan on having a large site, I would most
          definitely put at least your images and compressed files in a
          separate folder. It will help you stay more organized and easier
          to find things when you want them, although it is not necessary
          and maybe just personal preference.

          Happy HTML'n!
          Jody

          http://www.notetab.net

          The NoteTab and Html List...
          mailto:Ntb-html-Subscribe@...
          mailto:Ntb-html-UnSubscribe@...
        • Lloyd
          Hi All, As I wander around the internet, I see file extensions of .asp What are these? Lloyd
          Message 4 of 15 , Jan 4, 2001
          • 0 Attachment
            Hi All,

            As I wander around the internet, I see file extensions of .asp

            What are these?

            Lloyd
          • Lloyd
            Hi All, Thanks for all the quick answers. After reading them, I see it is just another thing that goes on the you are not into that yet list. A few months
            Message 5 of 15 , Jan 4, 2001
            • 0 Attachment
              Hi All,

              Thanks for all the quick answers. After reading them, I see it is just
              another thing that goes on the 'you are not into that yet' list.

              A few months ago, I only didn't know HTML. Now there are lots of things I
              don't know.

              Since I am on dumb questions, let me ask another. There is .HTM and .HTML
              why do I want one over the other and which.

              Lloyd
              ~~~~~~~~~~~~~~~~~~~~~~~~~~
              >See Help | NoteTab's Glossary for a quick short answer. :)
              >
              >
              >Happy HTML'n!
              >Jody
            • Jody
              Hi Lloyd, ... See Help | NoteTab s Glossary for a quick short answer. :) Happy HTML n! Jody http://www.notetab.net The NoteTab and Html List...
              Message 6 of 15 , Jan 4, 2001
              • 0 Attachment
                Hi Lloyd,

                >As I wander around the internet, I see file extensions of .asp
                >
                >What are these?

                See Help | NoteTab's Glossary for a quick short answer. :)


                Happy HTML'n!
                Jody

                http://www.notetab.net

                The NoteTab and Html List...
                mailto:Ntb-html-Subscribe@...
                mailto:Ntb-html-UnSubscribe@...
              • lloyd2
                Hi All, Well, I finally made the plunge and decided to try to learn CSS. The first bottleneck I don t seem to be able to get around is: I want to use a linked
                Message 7 of 15 , Jul 14, 2003
                • 0 Attachment
                  Hi All,

                  Well, I finally made the plunge and decided to try to learn CSS. The first
                  bottleneck I don't seem to be able to get around is:

                  I want to use a linked stylesheet since there are lots of pages and I could
                  put most of the things in a single place. Seems to work well until I wanted
                  to do backgrounds on some of the pages. Actually I have five or six
                  different backgrounds. I can make them work with embedded stylesheets in
                  the appropriate places. Now comes the problem.

                  If the background is in an embedded stylesheet, the linked stylesheet
                  doesn't seem to work.

                  Help!!!

                  Just had a thought. Would Classes of backgrounds work? If so, I could just
                  drop in the one I want when I want it.

                  Lloyd
                • lloyd2
                  Hi All, The Classes worked fine. Thanks for letting me bat this off someone. Lloyd
                  Message 8 of 15 , Jul 14, 2003
                  • 0 Attachment
                    Hi All,

                    The Classes worked fine. Thanks for letting me bat this off someone.

                    Lloyd
                    ~~~~~~~~~~~~~~~~`
                    >Just had a thought. Would Classes of backgrounds work? If so, I could just
                    >drop in the one I want when I want it.
                    >
                    >Lloyd
                  • Robert Romberger
                    ... One of the main problems with CSS is still in the adoption process of the various browsers. What works correctly according to the standard in one browser
                    Message 9 of 15 , Jul 14, 2003
                    • 0 Attachment
                      On 14 Jul 2003 at 19:49, lloyd2 wrote:

                      > If the background is in an embedded stylesheet, the linked stylesheet
                      > doesn't seem to work.

                      One of the main problems with CSS is still in the adoption process of the
                      various browsers. What works correctly according to the standard in one
                      browser doesn't mean that it will in another - especially if there are
                      different version of each browser. When I am doing background images for
                      Netscape for instance, I can use a linked CSS for version 7, but not for
                      version 4.x. Then add in compatibility issues with Opera and IE for
                      instance, and I find that not one reads the CSS the same way (and some not
                      even to the "standard"). What I end up doing is putting the background
                      style in the linked CSS file as well as on each page. One way or another,
                      the browsers will read and process the background CSS correctly. However,
                      this does make for a bit of a problem when doing background replacements.
                      :(

                      --
                      Robert

                      Thought for the day: All good things are wild, and free. Henry David
                      Thoreau
                    • Rudolf Horbas
                      Robert, ... AFAIK, Netscape 4.x reads the path relative to the html document, while ist should be relative to the style sheet; this is also the reason why Your
                      Message 10 of 15 , Jul 15, 2003
                      • 0 Attachment
                        Robert,

                        > When I am doing background images for
                        > Netscape for instance, I can use a linked CSS for version 7, but not for
                        > version 4.x.


                        AFAIK, Netscape 4.x reads the path relative to the html document, while
                        ist should be relative to the style sheet; this is also the reason why
                        Your inline styles work. To be sure, I use the full path:

                        BODY {
                        background-image: url(http://www.mysite.com/images/bg.gif);
                        }

                        or maybe the absolute path works as well:

                        BODY {
                        background-image: url(/images/bg.gif);
                        }

                        Rudi
                        --
                        "Despite its proven stress-relieving effect, I will not indulge in
                        maniacal laughter. When so occupied, it's too easy to miss unexpected
                        developments that a more attentive individual could adjust to accordingly."
                        From: The Top 100 Things I'd Do If I Ever Became An Evil Overlord
                        (http://www.eviloverlord.com/lists/overlord.html)
                      • lloyd2
                        Hi All, I am trying to learn some CSS . I have been trying to update my home page as a learning application. I just finished the first 10 pages, viewing them
                        Message 11 of 15 , Jul 17, 2003
                        • 0 Attachment
                          Hi All,

                          I am trying to learn some CSS . I have been trying to update my home page
                          as a learning application. I just finished the first 10 pages, viewing them
                          in Mozilla when I decided I had better try IE also. Ahhhhhh.......

                          Now I have started again. I was using several "Classes". I used p.first,
                          p.second, p.third, body.first, body.second, body.third, h.first, h.second,
                          and h.third. For some reason IE doesn't like the h.first, etc. I then tried
                          c.first, c.second, and c.third. It didn't like them either. It did accept
                          b.first, b.second, etc.

                          Can anyone tell me what can be used for "Classes" in most browsers? What
                          are the rules for using "Classes"?

                          Lloyd
                        • Rudolf Horbas
                          Hi Lloyd, ... What comes before the class name has to be a valid html element (block or inline) as e.g.: p.first {...} td.first {...} table.first {...}
                          Message 12 of 15 , Jul 18, 2003
                          • 0 Attachment
                            Hi Lloyd,

                            > Now I have started again. I was using several "Classes". I used p.first,
                            > p.second, p.third, body.first, body.second, body.third, h.first, h.second,
                            > and h.third. For some reason IE doesn't like the h.first, etc. I then tried
                            > c.first, c.second, and c.third. It didn't like them either. It did accept
                            > b.first, b.second, etc.

                            What comes before the class name has to be a valid html element (block
                            or inline) as e.g.:
                            p.first {...}
                            td.first {...}
                            table.first {...}
                            div.first {...}
                            h1.first {...}
                            ...

                            h and c are not valid elements, so this is probably why Your css doesn't
                            work. b is (well, kind of: bold, but it's deprecated), but that's
                            probably not what You had in mind.

                            What You can do is define a class without an element:

                            .first { yourstyle }

                            and then assign it to any element You like (if the format properties
                            make sense):

                            <td class="first">...

                            or

                            <p class="first">

                            Also, using more than one body element (body.first, etc.) in one
                            document is absolutely illegal. Or did You assign the body styles for
                            different documents?

                            If Your website is accessible online, why don't You have Your css
                            checked by the W3C?
                            http://jigsaw.w3.org/css-validator/validator-uri.html

                            BTW, if You are using Mozilla, there is a good plug in called "Checky"
                            that makes a variety of checks available (HTML and css) via the context
                            menu:
                            http://checky.mozdev.org/

                            HTH,
                            Rudi
                            --
                            D-80995 M√ľnchen, Germany
                            ----------------------------------------------------------------------
                            "When I employ people as advisors, I will occasionally listen to their
                            advice."
                            From: The Top 100 Things I'd Do If I Ever Became An Evil Overlord
                            (http://www.eviloverlord.com/lists/overlord.html)
                          • Robert Romberger
                            ... FWIW, h is a valid html element - header, as in h1, h2, h3. However, the original question posed using h by itself, which is not a valid element. The
                            Message 13 of 15 , Jul 18, 2003
                            • 0 Attachment
                              On 18 Jul 2003 at 10:48, Rudolf Horbas wrote:

                              > h and c are not valid elements, so this is probably why Your css doesn't

                              FWIW, "h" is a valid html element - header, as in h1, h2, h3. However,
                              the original question posed using "h" by itself, which is not a valid
                              element. The correct way would be: h1.first {...}, h2.first{...}, etc.

                              --
                              Robert

                              Thought for the day: I must stand up in search of the truth, if I don't I
                              only roll with the flow of the lie and make it stronger. Sovereign
                            • Rudolf Horbas
                              ... Of course :-} But, as You mentioned, only valid with the level indicator (1-6). Rudi
                              Message 14 of 15 , Jul 21, 2003
                              • 0 Attachment
                                Robert Romberger wrote:
                                > On 18 Jul 2003 at 10:48, Rudolf Horbas wrote:
                                >>h and c are not valid elements, so this is probably why Your css doesn't

                                > FWIW, "h" is a valid html element - header, as in h1, h2, h3. However,
                                > the original question posed using "h" by itself, which is not a valid
                                > element. The correct way would be: h1.first {...}, h2.first{...}, etc.

                                Of course :-}
                                But, as You mentioned, only valid with the level indicator (1-6).

                                Rudi
                              • Robert Romberger
                                ... I ll have to try this out. Older versions of IE didn t do the relative path in the linked style sheet either, but I haven t played with it since I use a
                                Message 15 of 15 , Jul 22, 2003
                                • 0 Attachment
                                  On 15 Jul 2003 at 10:22, Rudolf Horbas wrote:

                                  > AFAIK, Netscape 4.x reads the path relative to the html document, while ist
                                  > should be relative to the style sheet; this is also the reason why Your
                                  > inline styles work. To be sure, I use the full path:
                                  >
                                  > BODY {
                                  > background-image: url(http://www.mysite.com/images/bg.gif);
                                  > }
                                  >
                                  > or maybe the absolute path works as well:
                                  >
                                  > BODY {
                                  > background-image: url(/images/bg.gif);
                                  > }

                                  I'll have to try this out. Older versions of IE didn't do the relative
                                  path in the linked style sheet either, but I haven't played with it since I
                                  use a work-around by including the background image style on the page
                                  itself as well as in the linked style sheet.

                                  --
                                  Robert

                                  Thought for the day: Our worst enemies here are not the ignorant and
                                  simple, however cruel; our worst enemies are the intelligent and corrupt.
                                  Graham Greene
                                Your message has been successfully submitted and would be delivered to recipients shortly.