A small problem with my template

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
Demitri

A small problem with my template

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: A small problem with my template

Post 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...
Locked

Return to “Layout and Design (CSS & HTML)”