View Full Version : stylesheet help, not functioning

09-19-2011, 07:04 PM
I don't know whats wrong, not displaying images at all


p.accountsummary {
background-image: url('../includes/image/accountsummary.jp…
position: relative;
top: 50 px;

#header {
background-image: url('../includes/image/header.jpg');
width: 1000px;
height: 45 px;



<div id="header">


<div class= "account summary">

09-19-2011, 07:36 PM
Do you really have a space in your div class name?

<div class= "account summary">

You dont have one in your stylerule.

09-19-2011, 09:37 PM
sorry that was just a typo in the post, my actual code does not have a space. Any other ideas as to why this is not working?

09-19-2011, 09:50 PM
Your height's have spaces in them. They should not.
Your accountsummary id is assigned to a div, not a p as in your code.

Is the CSS file embedded in the html file itself, or linked to it?
If linked, is it in the same folder?
What is the folder structure of your site? you are using relative links to find the images, so in your css, you are saying "Go up one folder level, then go to the includes folder etc.". If you CSS file is in the same folder as the includes folder is, then you don't need the "../" part.

09-20-2011, 03:03 AM
ok i did the necessary changes still not working
File paths:


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum