Geeks, Geeks and More Geeks
Would you like to react to this message? Create an account in a few clicks or log in to continue.


THIS FORUM IS NO LONGER ACTIVE. SORRY! DO NOT ATTEMPT TO REGISTER; YOUR REQUEST WILL NOT BE ACCEPTED.
 
PortalPortal  HomeHome  GalleryGallery  Latest imagesLatest images  SearchSearch  RegisterRegister  Log in  

 

 trouble with css and background image in firefox

Go down 
2 posters
AuthorMessage
fay47
Royal Geek
Royal Geek
fay47


Number of posts : 1480
Registration date : 2008-10-17
Mood : none

trouble with css and background image in firefox Empty
PostSubject: trouble with css and background image in firefox   trouble with css and background image in firefox Empty1/18/2011, 17:18

I am going thru the css tutorial and just playing around with stuff. I have a style sheet with the below.
It all works ok in IE8 but in firefox the image doesn't show up but the other stuff seems to work ok.

Any ideas?

Fay
******
body
{
background-image:url('k:\gif\sheep_dog.gif');
}
h1
{
font-size:36pt;
}
h2
{
color:blue;
}

#para1
{
text-align:center;
color:red;
}

#para2
{
color:orange;
}

p.fay1
{
color:blue;
}
\}


p
{
Back to top Go down
Repa
Site Administrator
Site Administrator
Repa


Number of posts : 2378
Location : North Carolina
Humor : Age: Older than Dirt!
Registration date : 2008-09-19

trouble with css and background image in firefox Empty
PostSubject: Re: trouble with css and background image in firefox   trouble with css and background image in firefox Empty1/18/2011, 18:09

I know nothing about css, but here's a forum where a similar problem was solved:

http://www.codingforums.com/archive/index.php/t-83176.html
Back to top Go down
fay47
Royal Geek
Royal Geek
fay47


Number of posts : 1480
Registration date : 2008-10-17
Mood : none

trouble with css and background image in firefox Empty
PostSubject: Re: trouble with css and background image in firefox   trouble with css and background image in firefox Empty1/18/2011, 18:43

Repa,

I checked out the link but afraid it kind of lost me. I am not using the div statement. I did some searches also and found some other articles - but they all kind of lost me. Maybe I'll try posting at bleepingcomputer and see if someone there knows.
Seems what I am running into is I just simply don't know enough.

Thanks,

Fay
Back to top Go down
fay47
Royal Geek
Royal Geek
fay47


Number of posts : 1480
Registration date : 2008-10-17
Mood : none

trouble with css and background image in firefox Empty
PostSubject: Re: trouble with css and background image in firefox   trouble with css and background image in firefox Empty1/18/2011, 22:27

I finally got it figure out. I have IIS set up on my computer and am testing with that, but the image file is not it the same directory.

I needed this:
background-image:url(file:///k:/camerapics/img_0114.jpg);

instead of this:
background-image:url(k:\camerapics\img_0114.jpg);
Back to top Go down
Sponsored content





trouble with css and background image in firefox Empty
PostSubject: Re: trouble with css and background image in firefox   trouble with css and background image in firefox Empty

Back to top Go down
 
trouble with css and background image in firefox
Back to top 
Page 1 of 1
 Similar topics
-
» Firefox ??
» ISP In Trouble
» Firefox 3.6.16
» Firefox Browser
» Firefox and Java

Permissions in this forum:You cannot reply to topics in this forum
Geeks, Geeks and More Geeks :: Other Help Forums :: Web Page Building and Markup Languages-
Jump to: