Linking image file to css file

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hey guys i was just seeing if any one could help me with a problem. I am tr
ying to make an image my background for my css style, the image is located  
in folder/images/road_and_mountain.jpg and my css file is located in folder
/styles/styles.css  everything ive tried doesnt seem to work is there anyon
e who could fix my code so my css file would correctly load my background i
mage please.

<style media="screen">
body {
    font-family:'times new roman',serif;
#container {
    border:2px solid #000;
#menu {
#menu h2 {
#menu ul {
#menu a {
    border-bottom:1px solid #000;
#pictorial-content {
#content {
    border-top:2px solid #000;

Re: Linking image file to css file

On 20.1.2015 16:41, cobble stone wrote:
Quoted text here. Click to load it

The above line should contain the url to the image file, that is:

background-image:url(/*path to image here*/);


Best wishes, Osmo

Site Timeline