|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (4 bit)
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.
|
|
|
|
|
|
#2 |
|
Member (9 bit)
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> |
|
|
|
|
|
#3 |
|
Staff
Premium Member
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 |
|
|
|
|
|
#4 |
|
Member (4 bit)
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.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|