Arwen-Undomiel.com
http://www.arwen-undomiel.com/forum/

Background Issues
http://www.arwen-undomiel.com/forum/viewtopic.php?f=27&t=16515
Page 1 of 1

Author:  Nurrantiel Mashiara [ September 9th, 2007, 3:51 pm ]
Post subject:  Background Issues

Right. Either I'm really stupid or I'm ordering my layout wrong. I can't seem to get a background image to work at my site. I've just been putting the code at the top of my css under "body". Help on this would be much appreciated. :blush:

Author:  Aredhel Ar-Feiniel [ September 9th, 2007, 3:57 pm ]
Post subject: 

What code did you put in your CSS? I just looked at your layout.css and I didn't see it anywhere :P

Author:  Antigone [ September 9th, 2007, 5:02 pm ]
Post subject: 

Mkay ... it might be in the site coding itself, or in the css file ... -butchers your coding- :blush:

Code:
<LINK>

</style>
</head>
<center>
<body>
<div>
<img>
</center>
<background>

Remove the
Code:
</style>
tag. It's not open ...
Put
Code:
<center>
after body tag.
And
Code:
<background>
should probably be deleted...

Instead.
See css file..
Code:
body
{background:#000;
background-repeat: repeat-y;
background-position: 0%50%;
background-attachment: fixed;
Code:
#body
{ margin-top: 0;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0; }

^ I assume this is meant for the whole body tag as you have no layer named id=body..

Change that to
Code:
body {
margin: 0px;
padding: 0px;
background: url('YOUR URL!!') repeat-y 0% 50% fixed;
background-color: #000; /*this is optional I guess..*/


I hope it helps... otherwise I'm clueless what could be wrong :/

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/