I wouldn't use what was suggested. Do it this way -
Change
</head>
to -
<style type="text/css">
body {
background-image: url(imagefolder/imagename.jpg);
background-repeat: no-repeat;
}
</style>
</head>
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"LuisDesigns" <webforumsuser@macromedia.com> wrote in
message
news:er0uee$fdu$1@forums.macromedia.com...
> Thanks Mds14, this is my code. Where would i place the
bg code ?
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
> <title>Add a Blog Enty</title>
> </head>
> <body>
> <?php // Script 12.5 - add_entry.php
> // This script adds a blog entry to the datadase.
>
> // Address error handling.
> ini_set ('display_errors', 1);
> error_reporting (E_ALL & ~E_NOTICE);
>
> if (isset ($_POST['submit'])) { // Handle the form.
>
> // Connect and select.
> if ($dbc = @mysql_connect ('localhost', 'therainb',
'twocats')) {
>
> if (!@mysql_select_db ('test')) {
> die ('<p>Could not select the database because:
' . mysql_error() .
> '</p>');
> }
>
> } else {
> die ('<p>Could not connect to MySQL because:
' . mysql_error().
> '</p>');
> }
>
> // Define the query.
> $query = "INSERT INTO blog_entries (blog_id, title,
entry, date_entered)
> VALUES (0, '{$_POST['title']}', '{$_POST['entry']}',
NOW())";
>
> // Execute the query.
> if (@mysql_query ($query)) {
> print '<p>The blog entry has been
added.</p>';
> } else {
> print "<p>Could not add hte entry because:
" . mysql_error() . ".
> The
> query was $query.</p>";
> }
>
> mysql_close();
>
> }
> // Display the form.
> ?>
>
>
> <form action="add_entry.php" method="post">
> <p>Entry Title: <input type="text" name="title"
size="40" maxsize="100"
> /></p>
> <p>Entry Text: <textarea name="entry"
columns="40"
> rows="5"></textarea></p>
> <input type="submit" name="submit" value="Add to the
Blog!" />
> </form>
> </body>
> </html>
>