Go Back   PCMech Forums > Help & Discussion > Web Design / Development

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 08-07-2006, 01:18 AM   #1
Member (4 bit)
 
Blues44's Avatar
 
Join Date: Jul 2006
Posts: 8
Code Issues

Hey, I cant figure out, but due to the fact that I have some text in white I must change the background color. The problem is, is that Dreamweaver wont let me have the graphic and a different bgcolor. I attached the file help.txt through additional options which has the code. (yes i know you have to convert, but the forum would not let me copy and paste) Any help would be gladly appreciated.
Attached Files
File Type: txt help.txt (639 Bytes, 59 views)
Blues44 is offline   Reply With Quote
Old 08-07-2006, 08:51 AM   #2
Member (9 bit)
 
DynamicTech's Avatar
 
Join Date: Jan 2006
Posts: 343
Try this:
HTML Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><img src="web%20graphics/statue%20of%20liberty.jpg.jpg">
</head>

<body style="background-color:#808080">
<script language="JavaScript">
<!--Hide the script from other browswers
{
		alert("Welcome to the site that will change your life");
		}
		//Stop hiding from other browsers-->
		</script>
		<p><center>
  <h1><font color="#ff0000">Welcome</font> to <font color="#FFFFFF">Two</font> 
    <font color="#0000ff">America</font></h1>
  <p> </p>
</center>
</body>
Instead of using the WYSIWYG mode of dreamweaver, edit the code and open the file in a browser. You can change the color to whatever you want. Good Luck!
DynamicTech is offline   Reply With Quote
Old 08-07-2006, 09:10 AM   #3
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
The graphic needs to be in the body section not the head section. As a general rule I would name the image without spaces (use underscores for spaces). Also having 2 periods in a filename is not usually a good thing. Make it .jpg instead of .jpg.jpg .
__________________

Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row
mairving is offline   Reply With Quote
Old 08-07-2006, 09:45 PM   #4
Member (4 bit)
 
Blues44's Avatar
 
Join Date: Jul 2006
Posts: 8
Thanks, worked as soon as I moved it. I completely forgot about not having graphics in the head section.
Blues44 is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 05:12 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2