Quantcast

Maximum PC

It is currently Wed Dec 17, 2014 1:44 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: CSS - background-image
PostPosted: Mon Sep 27, 2004 2:08 am 
8086
8086

Joined: Sun Sep 26, 2004 10:49 pm
Posts: 3
Problem solved, but I'll leave it here with the solution in case anyone else has the same issue.

I'm having a strange, and very frustrating problem.

Culprit:
http://24.57.167.209/sda/

Is passes the W3C validator, but I can't get the background image to show! The headerbg.jpg file is a valid path, and is shown on the page using img tags. When trying to set it as a background, it doesn't seem to work. What am I doing wrong?

[edit]
Here's the css.
Code:
body
{
    background-image: url("headerbg.jpg");
    background-repeat: repeat-x;
    background-position: 50% 100%;

    margin: 0;
    padding: 0;
}

p {
padding: 0 15px;
}

p:first-letter {
font-size: 120%;
font-weight: bold;
}


[edit2]
Found the problem, was a silly one. I thought the css file loaded from the original source files directory. Nope, loads from the css file.


Top
  Profile  
 
 Post subject:
PostPosted: Tue Sep 28, 2004 6:21 am 
Thunderbird
Thunderbird
User avatar

Joined: Wed Jul 07, 2004 1:13 pm
Posts: 817
Location: Missouri
Just so you know the url is giving a Page cannot be displayed error.


Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

© 2014 Future US, Inc. All rights reserved.