|
| |
|
|
jcraig713
Posts: 10 Joined: 4/7/2009 Status: offline
|
A newby question - 4/7/2009 9:34:04
Hello. I am a newer web builder, learning as I go but completely passionate about doing so. I am hoping someone can direct me to an understanding of how something works. When I put a background picture in my FP web, and preview it in my browser, the image is cascading... why? I tried to "chop" the image into a table and still, the image cascades within the table cells. I tried to get info off the web about .css files?? and added what I thought needed to be to get the picture to stop cascading and now the picture does not even show in my web any longer. RATS! What can I do to make this not work like that (cascading and such). I am sure this is an elementary question for most people here... but I want to learn. Thanks in advance for your help. A copy of my code is pasted below. <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> <style type="text/css"> body { background-image: url('website_reference.png'); background-repeat: no-repeat; background-position: center; } </style> </head> <body background="images/website_reference.png"> </body> </html>
|
|
|
|
d a v e
Posts: 4348 Joined: 7/24/2002 From: England (but live in Finland now) Status: offline
|
RE: A newby question - 4/7/2009 9:42:46
you already have the background image defined in your stylesheet so you can change this <body background="images/website_reference.png"> to just this <body>
_____________________________
David Prescott Gekko web design
|
|
|
|
jcraig713
Posts: 10 Joined: 4/7/2009 Status: offline
|
RE: A newby question - 4/7/2009 10:36:28
Thanks. My code now looks like this below. The background image disappeared from my page and when I preview it in browser, there is no image. Do I have to have a style sheet in my web> All I have is my index page. <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> <style type="text/css"> body { background-image: url('website_reference.png'); background-repeat: no-repeat; background-position: center; } </style> </head> <body> </body> </html>
|
|
|
|
jcraig713
Posts: 10 Joined: 4/7/2009 Status: offline
|
RE: A newby question - 4/7/2009 13:23:04
Thanks! Do you know of an online class or alike where I could get training?
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|