Results 1 to 8 of 8

Thread: background-image problem in firefox.

  1. #1
    Senior Member
    Join Date
    Sep 2007
    Posts
    409
    Thanks
    7
    Thanked
    32 times in 12 posts
    • icanhazburger's system
      • Motherboard:
      • Foxconn 946GZ7MA/946PL7MA Series
      • CPU:
      • DualCore Intel Core 2 Duo E6400
      • Memory:
      • 2 gig DDR2-667
      • Storage:
      • 320gig Baracuda II
      • Graphics card(s):
      • 7900 GS vc3600 cooler
      • PSU:
      • 600w
      • Case:
      • Something with a 25cm fan
      • Monitor(s):
      • 1 x 22"w 1 x 19"
      • Internet:
      • Pipex Max :(

    background-image problem in firefox.

    This should be a simple one, for some reason the following code displays no image in firefox but does in ie, when I preview it firefox from dreamweaver, it does display the image, but only till I navigate away and back again, then its gone again. In case it is relevant, this is while it is all on my machine and not running on a server.

    Code:
    <style type="text/css">
    body 
    {
    background-image: url(images\standardTEMPLATE.gif);
    background-repeat: no-repeat;
    }
    In the internets, no one can hear you sarcasm.

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: background-image problem in firefox.

    backslash?

    the internet runs on *nix. use a forward slash

  3. Received thanks from:

    icanhazburger (11-01-2008)

  4. #3
    Senior Member
    Join Date
    Sep 2007
    Posts
    409
    Thanks
    7
    Thanked
    32 times in 12 posts
    • icanhazburger's system
      • Motherboard:
      • Foxconn 946GZ7MA/946PL7MA Series
      • CPU:
      • DualCore Intel Core 2 Duo E6400
      • Memory:
      • 2 gig DDR2-667
      • Storage:
      • 320gig Baracuda II
      • Graphics card(s):
      • 7900 GS vc3600 cooler
      • PSU:
      • 600w
      • Case:
      • Something with a 25cm fan
      • Monitor(s):
      • 1 x 22"w 1 x 19"
      • Internet:
      • Pipex Max :(

    Re: background-image problem in firefox.

    Thanks, and I said it would be simple
    In the internets, no one can hear you sarcasm.

  5. #4
    Senior Member
    Join Date
    Aug 2005
    Location
    Leeds
    Posts
    267
    Thanks
    8
    Thanked
    16 times in 16 posts

    Re: background-image problem in firefox.

    You could also get away with shortening the css too:
    Code:
    body 
    {
    background: url(images\standardTEMPLATE.gif) no-repeat;
    }
    That sets everything at once and you can then use the longhand version to change specific items, e.g. to make the colour behind the image orange you can use an id on the body tag:
    Code:
    body#development{
    background-color: #fab444;
    }
    Apologies if you already know this!

  6. #5
    Senior Member
    Join Date
    Sep 2007
    Posts
    409
    Thanks
    7
    Thanked
    32 times in 12 posts
    • icanhazburger's system
      • Motherboard:
      • Foxconn 946GZ7MA/946PL7MA Series
      • CPU:
      • DualCore Intel Core 2 Duo E6400
      • Memory:
      • 2 gig DDR2-667
      • Storage:
      • 320gig Baracuda II
      • Graphics card(s):
      • 7900 GS vc3600 cooler
      • PSU:
      • 600w
      • Case:
      • Something with a 25cm fan
      • Monitor(s):
      • 1 x 22"w 1 x 19"
      • Internet:
      • Pipex Max :(

    Re: background-image problem in firefox.

    Where do I get a list of specific items, I'm only aware of a few.
    In the internets, no one can hear you sarcasm.

  7. #6
    Senior Member
    Join Date
    Aug 2005
    Location
    Leeds
    Posts
    267
    Thanks
    8
    Thanked
    16 times in 16 posts

    Re: background-image problem in firefox.

    start with the tutorials at w3schools.com or download the 30-day trial of dreamweaver, it will auto-suggest tags and has a built-in reference library.

  8. Received thanks from:

    icanhazburger (11-01-2008)

  9. #7
    Senior Member GAteKeeper's Avatar
    Join Date
    Feb 2004
    Location
    Derbyshire, UK
    Posts
    582
    Thanks
    14
    Thanked
    28 times in 22 posts
    • GAteKeeper's system
      • Motherboard:
      • MSI P67-GD5
      • CPU:
      • Intel i7 2600k
      • Memory:
      • 8Gb Corsair DDR3 1600
      • Storage:
      • ~44TB
      • Graphics card(s):
      • 980Ti
      • PSU:
      • Seasonic S12 600W
      • Case:
      • Lian Li PC-65
      • Operating System:
      • Win10 64bit
      • Monitor(s):
      • Dell U3415W & 2405fpw
      • Internet:
      • 45Mb vDSL

    Re: background-image problem in firefox.

    Also the fireBug addon for firefox is excellent for debugging HTML and CSS errors and tweaking layout.

    GK
    Keeper of the Gates of Hell

  10. #8
    Senior Member
    Join Date
    Sep 2007
    Posts
    409
    Thanks
    7
    Thanked
    32 times in 12 posts
    • icanhazburger's system
      • Motherboard:
      • Foxconn 946GZ7MA/946PL7MA Series
      • CPU:
      • DualCore Intel Core 2 Duo E6400
      • Memory:
      • 2 gig DDR2-667
      • Storage:
      • 320gig Baracuda II
      • Graphics card(s):
      • 7900 GS vc3600 cooler
      • PSU:
      • 600w
      • Case:
      • Something with a 25cm fan
      • Monitor(s):
      • 1 x 22"w 1 x 19"
      • Internet:
      • Pipex Max :(

    Re: background-image problem in firefox.

    Quote Originally Posted by bobbyzero View Post
    start with the tutorials at w3schools.com or download the 30-day trial of dreamweaver, it will auto-suggest tags and has a built-in reference library.
    I'm using dreamweaver, the older mx version, the latest adobe one is on way when I get new work pc
    In the internets, no one can hear you sarcasm.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Problem with new build ...
    By nickp8 in forum PC Hardware and Components
    Replies: 3
    Last Post: 04-08-2007, 09:29 PM
  2. Firefox & Windows death
    By Ferral in forum Software
    Replies: 8
    Last Post: 04-07-2006, 04:35 PM
  3. problem with firefox blocking popups..
    By 5lab in forum General Discussion
    Replies: 13
    Last Post: 06-10-2005, 01:36 PM

Posting Permissions

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