Unstoppable Domains

I am desperate for your help! With css...

Spaceship Spaceship
Watch
My website uses a css script to provide the backround... the cursors... and the main pictures...
there is one problem it isn't loading the picture at the top! even when i change the picture for it to load...
this all came about when i tried to change it to a flash .swf, but now no pictures will work in there :( please help!
i am desperate!
here is my css script!
HELP!

Code:
/* Layout elements */

/* Fundamentals */

html {
	background: #222 url(http://www.josephheskett.com/images/bg.gif) repeat-x scroll;
	font: 0.75em/1.3 Verdana, Helvetica, Arial, Sans-serif;
	text-align: center;
}

/* Body container */

body {
	margin: 0 auto;
	padding: 0;
	text-align: left;
	width: 700px;
	background: #fff url(http://www.josephheskett.com/images/mainbg.gif) repeat-y;
	border-left: 1px solid #000;
	border-right: 1px solid #000;
}

/* Links */

a:link, a:visited {
	color: #b55555;
	text-decoration: underline;
}

a:hover, a:active {
	color: #386084;
	text-decoration: underline;
}

/* Headings */

h2 {
	font: normal 1.9em "Century Gothic", Geneva, Helvetica, Arial, Sans-serif;
}

h3 {
	font: normal 1.6em "Century Gothic", Geneva, Helvetica, Arial, Sans-serif;
}

/* Lists */

ul {
	margin-left: 25px;
	padding: 0;
}

li {
	list-style-type: square;
}

/* Layout IDs */

/* Header */

#head {
	width: 700px;
	height: 150px;
}

#head h1 {
	margin: 0;
	padding: 0;
	display: block;
	width: 700px;
	height: 150px;
	background-image: url(http://www.josephheskett.com/images/head.jpg);
	text-indent: -10000px;
	background-color: #000000;
	cursor: crosshair;
}

/* Navigation */

#nav {
	margin: 0;
	padding: 0;
	width: 700px;
	height: 20px;
}

/* Navigation list */

#nav ul {
	margin: 0 0 0 13px;
	padding: 0;
}

#nav li {
	float: left;
	list-style: none none;
	font-size: 1.1em;
	margin: 0 0 0 2px;
	padding: 3px 0;
	text-transform: uppercase;
}

/* Navigation links */

#nav li a:link, #nav li a:visited {
	margin: 0;
	padding: 3px 0;
	display: block;
	width: 110px;
	color: #222;
	background-color: #f3f3f3;
	text-decoration: none;
	text-align: center;
}

#nav li a:hover, #nav li a:active {
	margin: 0;
	padding: 3px 0;
	display: block;
	width: 110px;
	color: #111;
	background-color: #fefefe;
	text-decoration: none;
}

/* Span to change colour */

#nav li a:link span, #nav li a:visited span {
	margin: 0;
	padding: 0;
	color: #5588b5;
	text-decoration: none;
}

#nav li a:hover span, #nav li a:active span {
	margin: 0;
	padding: 0;
	color: #5588b5;
	text-decoration: none;
}

/* Main content */

#main {
	width: 450px;
	padding: 15px;
	float: left;
}

/* Sidebar */

#sidebar {
	width: 190px;
	padding: 15px;
	float: right;
	cursor: text;
}

/* Sidebar list links */

#sidebar ul {
	margin: 0;
	padding: 0;
}

#sidebar li {
	margin: 3px 0 0 0;
	padding: 0;
	list-style-type: none;
}

#sidebar li a:link, #sidebar li a:visited {
	display: block;
	width: 180px;
	padding: 2px 0 2px 5px;
	background-color: #f1f1f1;
	color: #333;
	text-decoration: none;
}

#sidebar li a:hover, #sidebar li a:active {
	display: block;
	width: 180px;
	padding: 2px 0 2px 5px;
	background-color: #fcfcfc;
	color: #222;
	text-decoration: none;
}

/* Footer */

#foot {
	margin: 0;
	padding: 0;
	text-align: center;
	clear: both;
	cursor: nw-resize;
}

#foot p {
	margin: 0;
	padding: 20px 0;
	font-weight: bold;
}

PLEASE HELP!
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Unstoppable DomainsUnstoppable Domains
for starters, I always enclose my image URL in single quote marks
Code:
background: #ffffff url('images/mainbg.gif') repeat-y;

Also, why are you defining a background for "html" as well as "body" ?
 
0
•••
it loads 2 different pics...
www.josephheskett.com
one loads the colour in the backround, the other loads the strip...
my main problem is:
Code:
	background-image: url(http://www.josephheskett.com/images/head.jpg);
thats the bit that isn't showing... the picture is suppose to appear where the black bit is...
 
0
•••
Change this to
Code:
.html {
	background: #222 url('http://www.josephheskett.com/images/bg.gif') repeat-x scroll;
	font: 0.75em/1.3 Verdana, Helvetica, Arial, Sans-serif;
	text-align: center;
}

You must add the . infront of html otherwise it says to CSS for all functions html do background.... there is no function called html other than the starting/closing operator. (<html>)

iNod.
 
0
•••
thank you.. it seems to be working
:D
 
0
•••
Wybe, i'm not sure whether i would recommend enclosing the image URL within single quotes, this stops IE5 Mac from seeing your background images. I would recommend specifying:
Code:
background: #ffffff url(images/mainbg.gif) repeat-y;
 
0
•••
ok right... thanks for your help it is all working now :)
the '.' has been added and the single quotes removed :)
 
0
•••
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Unstoppable Domains
Domain Recover
NameMaxi - Your Domain Has Buyers
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back