hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Design and Content : Simple HTML Problem but I am stumped
Reply

Web Design and Content Subjects include, HTML, graphics, editors, CSS, Flash, graphics creation, placing of ads, ad serv companies, copyright, content and nearly anything else design related. Also talk about businesses that provide design services. If you link to your site, you must post in Web Site Reviews.
Forum Jump

Simple HTML Problem but I am stumped

Reply Post New Thread In Web Design and Content Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-25-2007, 02:10 AM
DataDork DataDork is offline
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>

__________________
James Edmonds
DataDork Consulting
http://www.datadork.com

Reply With Quote


Sponsored Links
  #2  
Old 12-25-2007, 02:38 AM
rezag rezag is offline
Junior Guru Wannabe
 
Join Date: Sep 2002
Posts: 44
Try with 'background-image'

Reply With Quote
  #3  
Old 12-25-2007, 02:43 AM
DataDork DataDork is offline
Junior Guru
 
Join Date: Jan 2003
Location: Rancho Cucamonga, CA
Posts: 246
Quote:
Originally Posted by rezag View Post
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.

__________________
James Edmonds
DataDork Consulting
http://www.datadork.com

Reply With Quote
Sponsored Links
  #4  
Old 12-25-2007, 03:20 AM
MYIGIS MYIGIS is offline
Junior Guru Wannabe
 
Join Date: Nov 2007
Location: United Kingdom
Posts: 42
Your Background Image appears to be missing!
http://www.datadork.com/images/background.jpg

Reply With Quote
  #5  
Old 12-25-2007, 03:34 AM
vito vito is offline
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

Reply With Quote
  #6  
Old 12-25-2007, 03:52 AM
DataDork DataDork is offline
Junior Guru
 
Join Date: Jan 2003
Location: Rancho Cucamonga, CA
Posts: 246
please take another look

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

__________________
James Edmonds
DataDork Consulting
http://www.datadork.com

Reply With Quote
  #7  
Old 12-25-2007, 04:01 AM
vito vito is offline
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

Reply With Quote
  #8  
Old 12-25-2007, 04:08 AM
vito vito is offline
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

Reply With Quote
  #9  
Old 12-25-2007, 04:09 AM
rezag rezag is offline
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'

Reply With Quote
  #10  
Old 12-25-2007, 04:09 AM
MYIGIS MYIGIS is offline
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?

Reply With Quote
  #11  
Old 12-25-2007, 04:10 AM
DataDork DataDork is offline
Junior Guru
 
Join Date: Jan 2003
Location: Rancho Cucamonga, CA
Posts: 246
Quote:
Originally Posted by vito View Post
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
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.

__________________
James Edmonds
DataDork Consulting
http://www.datadork.com

Reply With Quote
  #12  
Old 12-25-2007, 04:12 AM
vito vito is offline
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

Reply With Quote
  #13  
Old 12-25-2007, 04:16 AM
DataDork DataDork is offline
Junior Guru
 
Join Date: Jan 2003
Location: Rancho Cucamonga, CA
Posts: 246
Quote:
Originally Posted by vito View Post
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?

__________________
James Edmonds
DataDork Consulting
http://www.datadork.com

Reply With Quote
  #14  
Old 12-25-2007, 04:18 AM
DataDork DataDork is offline
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.

__________________
James Edmonds
DataDork Consulting
http://www.datadork.com

Reply With Quote
  #15  
Old 12-25-2007, 04:19 AM
vito vito is offline
Enthusiastic chef
 
Join Date: Jan 2002
Location: Toronto, Canada
Posts: 11,061
Hmm. Just going based on http://www.w3schools.com/css/css_background.asp . Look at the second link.

Vito

__________________
DemoDemo.com - Flash tutorials since 2002
DemoWolf.com - 5,300+ Flash tutorials for hosting companies, incl. Voice tutorials

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Data Center Catharsis: Secrets of Dealing with Telcos Blog 2012-09-07 12:40:19
Security Provider StopTheHacker Receives $1.1 Million in Initial Funding Round Web Hosting News 2012-02-14 17:19:27
Namesco Provides Free Domains for Companies Made Simple Customers Web Hosting News 2012-01-31 13:36:44
Amazon Web Services Releases Icons for Use in Cloud Architecture Diagrams Web Hosting News 2011-12-05 19:14:43
Toshiba Server Breach Compromises Email Information of 681 Customers Web Hosting News 2011-07-18 17:29:46


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?