HTML & WEB-Design

Moderators: Jonathan
Number of threads: 1253
Number of posts: 3360

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
really simple CSS question Posted by mutazoid on 22 Oct 2012 at 7:20 PM
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*/
<html>
<head>
<title> BoOn </title>
<link ref="stylesheet" type="text/css" href="style.css" />
</head>

<body>
test
</body>
</html>


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



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.