Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
  1. #1
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    georged.netne.net
    Why these bad boys aren't appearing in my navigation

    Code:
        background-image: url("img/bbg.png");
    [and]
        background-image: url("img/obg.png");
    I've been picking at the code for like an hour. I even validated it, and it was ok except for nagging me about the <link /> and the <br /> tags. Go easy on me if it's just a stupid mistake
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  2.  

  3. #2
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    The only clue I have to this is:
    When I "inspect element" in Chrome, the path to the image is:
    [COLOR=rgb(0, 0, 0)][COLOR=rgb(0, 0, 238)]http://georged.netne.net/css/img/bbg.png[/COLOR][/COLOR]
    [COLOR=rgb(0, 0, 0)] ^^[/COLOR]
    [COLOR=rgb(0, 0, 0)]Why is it looking in the css file? or is that just a chrome thing?[/COLOR]
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  4. #3
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Quote Originally Posted by George Dolidze, post: 207904
    georged.netne.net
    Why these bad boys aren't appearing in my navigation

    Code:
        background-image: url("img/bbg.png");
    [and]
        background-image: url("img/obg.png");
    I've been picking at the code for like an hour. I even validated it, and it was ok except for nagging me about the <link /> and the <br /> tags. Go easy on me if it's just a stupid mistake
    Check your paths - I am seeing both img/bbg.png and css/img/bbg.png at different places on Firebug - also, make sure you images are actually uploaded. If necessary, use the absolute URL in the CSS,. Any way I put the link into the browser, either
    http://georged.netne.net/css/img/bbg.png
    or
    http://georged.netne.net/img/bbg.png
    I get a 404.
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  5. #4
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    Quote Originally Posted by AlphaMare, post: 207908
    Check your paths - I am seeing both img/bbg.png and css/img/bbg.png at different places on Firebug - also, make sure you images are actually uploaded. If necessary, use the absolute URL in the CSS
    I have it on file, it doesn't work there either, but the images are there nonetheless. I guess I could try absolute links... But it's just weird why it's like that.
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  6. #5
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Also, check the file extension - I know I had a couple of very bad hours once when the images showed perfectly on my local server (WAMP) but online they were AWOL - went to check the files in Filezilla and realized that they had been saved with capitalized .JPG in stead of .jpg - changed it and all was well...
    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  7. #6
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    Nope, the standard .png
    Direct links don't work either.
    I'll attach the images, if it helps any.
    Attached Images Attached Images
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  8. #7
    WDF Staff AlphaMare's Avatar
    Join Date
    Oct 2009
    Location
    Montreal, Canada
    Posts
    4,570
    Member #
    20277
    Liked
    878 times
    Well...I'm stumped...

    Good design should never say "Look at me!"
    It should say "Look at this." ~ David Craib


    http://digitalinsite.ca ~ my current site . . info@digitalinsite.ca ~ my email

    If you feel that someone's post helped you fix your problem, answered your question, or just made you feel better, feel free to "Like" their post. The "Like" link is at the bottom right of each post, along side the "reply" link. And if you are being helped here, try to help someone else - pass it on!

  9. #8
    Banned
    Join Date
    May 2011
    Location
    Fairfax, CA
    Posts
    2,036
    Member #
    28003
    Liked
    126 times
    If you cant visit it directly using your browser then dont egen bother trying to get your website code to do it. Verify that they are properly placed and named.

  10. #9
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Location
    Irvine, CA
    Posts
    2,487
    Member #
    27540
    Liked
    416 times
    Well they're in the img folder, and you can see that they're properly named...
    My freelancer website: DolidzeDesign



    You only need a parachute if you plan on skydiving twice.

  11. #10
    Senior Member Ronald Roe's Avatar
    Join Date
    Mar 2011
    Location
    Oklahoma City
    Posts
    3,141
    Member #
    27197
    Liked
    959 times
    [S]If the css is in a /css folder, and you use "img/bbg.png", the browser will look for the image in /css/img/bbg.png. Try using this: ../img/bbg.png[/S]

    EDIT: Ok, I said all that before I looked at the code. After much dev tooling, I've discovered that it is indeed displaying the background image. The only problem is that the area it is displayed in is only 30 px tall, while the image is 100px. Sooooo, You're only seeing a small area of the image, which just looks like the background color.
    George Dolidze likes this.
    Ron Roe
    Web Developer
    "If every app were designed using the same design template, oh wait...Bootstrap."


Page 1 of 2 1 2 LastLast

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:02 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com