really simple CSS question

Any idea why this isnt working... am I missing something really basic?


/* this is in my style.css file */

body {
background-image: url(Dungeon_Siege__Dragon_Eye_by_geodex.jpg);
background-attachment: fixed;
background-color: Red;
background-repeat : no-repeat;
background-position: top left;
}

/* this is in my index.html file*/


BoOn




test




all the files:style.css,index.html,Dungeon_Siege__Dragon_Eye_by_geodex.jpg are in the same directory of my server

Thanks for all your help ;)
Keith

Comments

  • I agree with the above that you should close all your tags before using style codes (CSS).
  • I agree with the above that you should close all your tags before using style codes (CSS).
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion