Results 1 to 10 of 10

Thread: HTML problem

  1. #1
    Member
    Join Date
    Jun 2001
    Location
    CA
    Posts
    95

    HTML problem

    hey guys,
    i got an HTML question. ok i have a site i am starting to program in HTML. i wanna put an image on the site so i uploaded a file called banner copy.jpg. i put it in the site like this :
    <img scr="banner copy.jpg"> . go to this the folowing site. http://www22.brinkster.com/thetst/home notice how the image never appears? wuts up w/ that? some1 help me fix it
    Yippee Kye Yay mothafukca
    - SUNDOG

  2. #2
    Card Shark AAF Striker's Avatar
    Join Date
    Feb 2001
    Location
    South of the D
    Posts
    3,558
    Make sure banner copy.jpg is in the /home directory and change your image to <img src="banner copy.jpg"> ... or if the image is located somewhere else on the server, you may want to include the full path to it. But, you keep putting scr instead of src ...

  3. #3
    Advanced Member tr87526's Avatar
    Join Date
    Nov 1999
    Location
    Tulsa, OK
    Posts
    621
    Generally this happens when the image is not stored in the folder the web stuff is. In other words, your web page is pointing to file where the image is not saved.

    keep all web pages am image in the same folder

  4. #4
    Elite Member TonyT's Avatar
    Join Date
    Jan 2000
    Location
    Fairfax, VA
    Posts
    10,343
    You cannot have any spaces in a file name.
    Rename your image to bannercopy or banner_copy aor banner_copy and re-upload it, or else FTP to your site &v rename the copy that's on the server. Then change your code to reflect the change and re-upload the html document.

    <img scr="banner copy.jpg"> oooooooops! Should be src

  5. #5
    Regular Member DiskDoc's Avatar
    Join Date
    Feb 2001
    Location
    VA
    Posts
    447
    sundog, you are not allowed to have spaces. take the space out from banner copy and make it banner_copy or bannerCopy. you get me? if you leave the space there you'll have to link it as banner%20copy. got it?
    Share What You Know, Learn What You Don't.
    RapSource.Com

  6. #6
    Regular Member DiskDoc's Avatar
    Join Date
    Feb 2001
    Location
    VA
    Posts
    447
    oh yes.. and it's not scr like he said.. it's src :-)
    Share What You Know, Learn What You Don't.
    RapSource.Com

  7. #7
    Member
    Join Date
    Jun 2001
    Location
    CA
    Posts
    95

    .....

    lol ty guys, i didnt realize i wuz puttn scr instead of src. but the file name is banner copy.jpg with a space. shood i rename the file or just close the space anyway?
    Yippee Kye Yay mothafukca
    - SUNDOG

  8. #8
    Elite Member TonyT's Avatar
    Join Date
    Jan 2000
    Location
    Fairfax, VA
    Posts
    10,343
    You must rename the file AND redo the html in the page to match what you renamed the file to.

  9. #9
    Advanced Member the_mp3_refuge's Avatar
    Join Date
    Sep 2000
    Location
    Albertsons
    Posts
    967
    Right no spaces, and the scr problem is all what I found. So I got bored and ran all the stuff in Dreamweaver, add's some numbers instead of the "red" area so it's true html, and changed banner copy.jpg to bannercopy.jpg here's the source feel free to copy it. Peace:2cool:

    <html>
    <head>
    <title>*tSt* Delta Force LW Squad</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>

    <body bgcolor="#FFFFFF">
    <img src="bannercopy.jpg"> <font color="#FF0033">Welcome to the *tSt* Homepage.
    We are a very new DFLW squad. Please check out all of the links and enjoy your
    stay.</font>
    </body>
    </html>
    "To give anything less than your best is to sacrifice the Gift."--Steve Prefontaine

  10. #10
    Regular Member DiskDoc's Avatar
    Join Date
    Feb 2001
    Location
    VA
    Posts
    447
    I thought I explained that to ya. close the space up :-)
    Share What You Know, Learn What You Don't.
    RapSource.Com

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
  •