Solved

Background Image by Style Sheet

Posted on 2000-04-12
10
249 Views
Last Modified: 2010-04-25
OK. This thing doesn't seem to work. I'm using Dreamweaver 2.
I've got these files: images/15.gif and /story.css
While modifying story.css, as usual I use the BODY tag redefinition to include the background image images/15.gif
Now, when I edit the body definition, I'm also enabled "repeat".
What happened is that when I publish the entire web in geocities, then I view it by using Netscape 4.72, the background image didn't show up tiled. What happened?
Here's the link to the style sheet:
http://www.geocities.com/vakusuma/story.css
Right now so that the page doesn't look blank in Netscape, I overrode the background image by bgcolor=yellow. Feel free to experiment with my stylesheet to see what really happened with that.
Thanks.
0
Comment
Question by:vakusuma
  • 4
  • 2
  • 2
  • +1
10 Comments
 
LVL 3

Expert Comment

by:davlun20080
ID: 2733400
I don't think NS reads the repeat feature for body.  Try separating your body statements into:

body {background-image: url(/images/15.gif)}
body {background-repeat: repeat}

and see if you get any better results. I don't know why it works but in the past I have had things work this way in NS.

davlun
0
 

Author Comment

by:vakusuma
ID: 2734611
No go. Nothing came up at all.
0
 

Expert Comment

by:bigstar
ID: 2790611
Vakusuma

This one mystifies me also. Using the <style type="text/css">  reference in between <head head/> commands works, but referencing an external CSS file does not.

I'm registering my interst in the correct solution, or getting a freebie answer of the back of your question - depending on the way you look at it!
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
LVL 3

Expert Comment

by:davlun20080
ID: 2790663
sorry for the delay in getting back to you on this one, I must have missed an earlier email alert.

When you say nothing came up at all, did you mean that the background did not show at all or did you mean it did not title.  

The reason I ask is that you should have seen the background image at least.

davlun
0
 

Author Comment

by:vakusuma
ID: 2796454
So, bigstar, what should I do instead? Give me something that I could use...

davlun, the background didn't come up at all at Netscape.
0
 

Expert Comment

by:jastroem
ID: 2862225
As far as I know we encounter these kind of problems with bgImages in Netscape. The problem is that Netscape doesn't interpret the relativ path to the images incorrect. Try to replace the path with an absolut path like http://wwww.server.com/images/bground.gif

Greetings  Joergen
0
 

Accepted Solution

by:
jastroem earned 40 total points
ID: 2862248
As far as I know we encounter these kind of problems with bgImages in Netscape. The problem is that Netscape doesn't interpret the relativ path to the images incorrect. Try to replace the path with an absolut path like http://wwww.server.com/images/bground.gif

Greetings  Joergen
0
 

Author Comment

by:vakusuma
ID: 2862501
Comment accepted as answer
0
 

Author Comment

by:vakusuma
ID: 2862502
Hey! Even though I've decided not to implement it, your suggestion was right on the mark. Thanks a lot! Hopefully next time the Netscape guys would correct this problem....
0
 

Expert Comment

by:bigstar
ID: 2864484
Sorry about your call to arms back there Vakusuma - I hadn't a clue - but yes that does seem to work - whaddya know - I've learnt something too
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
pin image to base of site 14 361
unable to connect to host / dreamweaver cs3 11 159
Best code editor tool for PC 4 132
CS6 Adobe Dreamweaver Alphanumeric list 4 110
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question