Professional Web Applications Themes

HTML Mystery - Mac Applications & Software

Why can't I see the image and background coded in my Global Internet Solutions HTML online editor. The code is posted like this: <BODY BACKGROUND="/modalplayer.com/blgr064.jpg"> This background file is uploaded on the site as you see it but neither the pictures nor the background shows. Is my code right? Why can't I see it. See for yourself on modalplayer.com....

  1. #1

    Default HTML Mystery

    Why can't I see the image and background coded in my Global Internet
    Solutions HTML online editor. The code is posted like this:
    <BODY BACKGROUND="/modalplayer.com/blgr064.jpg"> This background file
    is uploaded on the site as you see it but neither the pictures nor the
    background shows. Is my code right? Why can't I see it. See for
    yourself on modalplayer.com.
    henry Guest

  2. #2

    Default Re: HTML Mystery


    "henry franzreb" <com> wrote in message
    news:google.com... 

    Not looked at your site, but as an idea try:
    http://modalplayer.com/blgr064.jpg. Omitting the protocol, http://, implies
    that the browser should see the file listed as a relative path, and I would
    imagine that's not what you intended (otherwise, you'd have a root-level
    directory called modalplayer.com).


    Cheers,
    Ian



    Ian Guest

  3. #3

    Default Re: HTML Mystery

    In article <google.com>,
    com (henry franzreb) wrote:
     

    Comp.sys.mac.apps isn't the right for asking HTML questions. You
    should've asked it in a web-authoring newsgroup, probably one of the
    comp.infosystems.www.authoring.* newsgroups. But I'll answer it anyway.

    You typed the address wrong. The web browser thinks you put the image
    in a directory called "/modalplayer.com", and that this directory is on
    the same server as your web page (http://modalplayer.com).

    What you want is one of the following:

    <BODY BACKGROUND="blgr064.jpg">

    <BODY BACKGROUND="/blgr064.jpg">

    <BODY BACKGROUND="http://modalplayer.com/blgr064.jpg">

    The first two versions uses relative addresses. In the first case, the
    JPG is in the same directory as the HTML file. In the second case, it's
    in the top directory of your web site. The third version uses a full
    address. It'll work even if the web page is on a different server.


    You made the same mistake with the picture, but there are a couple of
    other mistakes in it too. You've got:

    <img src="/modalplayer.com/Gig shot.jpg" alt="10" width="400"
    height="380<object> </object>" />

    You shouldn't use spaces in web addresses -- if there are spaces in a
    filename or directory name, they should be typed as "%20" in the
    address. And you have <object> tags inside the <img> tag, which is not
    allowed.

    You should change it to:

    <img src="Gig%20shot.jpg" alt="10" width="400" height="380">

    If you move the picture into your "images" directory, it would be:

    <img src="/images/Gig%20shot.jpg" alt="10" width="400" height="380">
    Wayne Guest

Similar Threads

  1. Overprint Mystery
    By terrapindesign@carolina.rr.com in forum Adobe Indesign Macintosh
    Replies: 9
    Last Post: August 17th, 04:28 AM
  2. Here's a mystery
    By mdland55 in forum Macromedia Flash Player
    Replies: 0
    Last Post: February 22nd, 07:47 PM
  3. Mystery to ME!
    By Tim A. Setliff in forum Macromedia Director Lingo
    Replies: 1
    Last Post: August 25th, 12:39 AM
  4. OS 9.0.2 mystery
    By Martin J. Kenny in forum Mac Networking
    Replies: 7
    Last Post: July 14th, 02:18 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139