Page 1 of 1

A small problem with my template

Posted: Wed Aug 20, 2008 9:19 pm
by Demitri
Greetings to all forum members!

I'm currently doing some work for a site that uses CMS Made Simple, and during my construction process, I've come across a problem with my template that I have, as yet, been unable to solve.

I want to have an image run the entire length of the window, on the top of the browser screen - only repeating horizontally.
As well, my top margin is set to 0, so the content is right at the top.

My code checks out (shown below)

body {
margin: 0;
padding: 0;
background-color: #FFFFFF;
color: #000000;
background-image: url(http://daaonline.org/images/navBG.gif);
background-repeat: repeat-x;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: small;
text-align: center;
min-width: 900px;
}

It displays fine on my own computer during testing, but when I put it up on the CMS - the bg image isn't showing and the top margin is defaulting.

I'm out of ideas on what I could be missing, so I'm turning this problem over to this community, in the hopes that someone can help me see where I'm going wrong.  Thank you in advance.

Re: A small problem with my template

Posted: Thu Aug 21, 2008 12:42 am
by Dr.CSS
Most times images are in the uploads/images folder, but if it's for a design/template I will put them in uploads/newfolder  for them then in CSS it's...

background: url(uploads/newfolder/image.jpg)  note no -image...

Just make sure you have {metadata} tag in , as it gives a <base href= with the site url in it...