
12-25-2007, 02:10 AM
|
|
Junior Guru
|
|
Join Date: Jan 2003
Location: Rancho Cucamonga, CA
Posts: 246
|
|
Simple HTML Problem but I am stumped
For the life of me I cannot get the background image to show up even thoughmy business logo does. Can someone offer some assistance.
Here is the current code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DataDork</title>
<style type="text/css">
body { background: url(/images/background.gif); }
body, html { height: 98%; }
#center { vertical-align: center; }
#container { width: 700px; margin: auto; height: 100%; }
</style>
<meta http-equiv="keywords" content="datadork" />
<meta http-equiv="description" content="" />
<meta http-equiv="author" content="James Edmonds" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="shortcut icon" href="/favicon.ico" />
</head>
<body>
<table border="0" cellspacing="0" cellpadding="0" id="container">
<tr>
<td id="center"><img src="/images/datadork.gif" alt="DataDork" width="700" height="228" /></td>
</tr>
</table>
</body>
</html>
|

12-25-2007, 02:38 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Sep 2002
Posts: 44
|
|
Try with 'background-image'
|

12-25-2007, 02:43 AM
|
|
Junior Guru
|
|
Join Date: Jan 2003
Location: Rancho Cucamonga, CA
Posts: 246
|
|
Quote:
Originally Posted by rezag
Try with 'background-image'
|
No, that did not seem to fix it. It should work as I have it but it does not.
Thanks for the suggestion, though.
|

12-25-2007, 03:34 AM
|
|
Enthusiastic chef
|
|
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 11,061
|
|
I'm sure MYIGIS means background.gif is missing from your /images folder. Not only that, datadork.gif is missing. Are you sure you uploaded the images folder to your root directory?
Vito
__________________
DemoDemo.com - Flash tutorials since 2002
DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials
|

12-25-2007, 03:52 AM
|
|
Junior Guru
|
|
Join Date: Jan 2003
Location: Rancho Cucamonga, CA
Posts: 246
|
|
sorry guys. i deleted it and re-uploaded it. please take a second and take a look as i am totally frustrated.
background.gif and datadork.gif all with the flder specified.
any help is super appreciated....
|

12-25-2007, 04:01 AM
|
|
Enthusiastic chef
|
|
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 11,061
|
|
http://www.datadork.com/images/background.gif
What is that image supposed to look like? It doesn't display at all in a browser.
Vito
__________________
DemoDemo.com - Flash tutorials since 2002
DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials
|

12-25-2007, 04:08 AM
|
|
Enthusiastic chef
|
|
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 11,061
|
|
As well, I just noticed your code is incorrect.
{ background: url(/images/background.gif); }
should read
{ background-image: url(/images/background.gif); }
Vito
__________________
DemoDemo.com - Flash tutorials since 2002
DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials
|

12-25-2007, 04:09 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Sep 2002
Posts: 44
|
|
Its a 1x4px image, it works here now as far as I can see, I can post a screenshot if if you want. Yes the valid code is 'background-image'
|

12-25-2007, 04:09 AM
|
|
Junior Guru Wannabe
|
|
Join Date: Nov 2007
Location: United Kingdom
Posts: 42
|
|
Sorry, Yes I meant GIF.
I now see a background very fine light blue lines?
|

12-25-2007, 04:10 AM
|
|
Junior Guru
|
|
Join Date: Jan 2003
Location: Rancho Cucamonga, CA
Posts: 246
|
|
Quote:
Originally Posted by vito
|
Vito,
It used to be white with light gray stripes. i just recovered from a hard drive crash and pulled it from my backups. that is probably my problem but also my worst fear.
thanks for checking again Vito. I have always had big respect for you.
|

12-25-2007, 04:12 AM
|
|
Enthusiastic chef
|
|
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 11,061
|
|
Cool. Looks like you're good to go.
But if you want "proper" code, be sure to change "background" to "background-image".
Vito
__________________
DemoDemo.com - Flash tutorials since 2002
DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials
|

12-25-2007, 04:16 AM
|
|
Junior Guru
|
|
Join Date: Jan 2003
Location: Rancho Cucamonga, CA
Posts: 246
|
|
Quote:
Originally Posted by vito
Cool. Looks like you're good to go.
But if you want "proper" code, be sure to change "background" to "background-image".
Vito
|
made the change to background-image but the light gray pinstripe background image does not show. it that correct on your site also?
|

12-25-2007, 04:18 AM
|
|
Junior Guru
|
|
Join Date: Jan 2003
Location: Rancho Cucamonga, CA
Posts: 246
|
|
any idea on where to find a subtle white and gray pinstrip type image? my backups seems screwed.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
| Postbit Selector |
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
| Login: |
|
|
| Advertisement: |
|
|
| Web Hosting News: |
|
|
|