Log In · Register

 
 
Closed TopicStart new topic
Trying to add a background image ( It's not appearing...), Using CSS.
NickNightmare
post Feb 1 2007, 07:59 PM
Post #1


Newbie
*

Group: Member
Posts: 1
Joined: Feb 2007
Member No: 500,100



Alright, well I'm working on my first layout and right now I'm trying to get the background image to work. And I'd like the image to look like this in the background
http://www.createblog.com/layouts/preview.php?id=6676

I've checked my css and the image and it looks like it should appear but it's not.

<head>
<style type="text/css">
body {
border: none;
border-width: 0;
background-image: url("http://img507.imageshack.us/img507/4651/darkangelbyamihedgehogac9.jpg");
background-attachment:fixed;
background-repeat: repeat;
background-position:bottom left;
background-color: f7dcd5; }
h1 {background-color: #e5e5e5}
h2 {background-color: transparent}

</style>
</head>


If you could help/explain that would be great!
 
freeflow
post Feb 2 2007, 12:36 AM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



This is myspace not a website you will never need head , html, title, or body tags. Change your code to this:
CODE
<style type="text/css">
body {
border: none;
border-width: 0;
background-image: url(http://img507.imageshack.us/img507/4651/darkangelbyamihedgehogac9.jpg);
background-attachment:fixed;
background-repeat: repeat;
background-position:bottom left;
background-color: f7dcd5; }
h1 {background-color: e5e5e5}
h2 {background-color: transparent}
</style>

Also myspace does not allow the # tag either. That will make your background appear. You need more css to make it look like that layout. Take our css from this thread if you need it:
http://www.createblog.com/forums/index.php?showtopic=84325

 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: