2 Replies Latest reply on Feb 19, 2010 1:48 PM by Guild1812

    Changing The Background Image On Just One Page Of A Site.

    Guild1812

      My site's CSS has a set background image. I need to change the background image on just one page, which has a feedback form.

       

      I've tried a number of different positions for inserting the image, but to no avail. I tried going into the rule for div id="background," and changing it there, but it changes every page. So, I'm guessing I have to write a new rule?

       

      Here's the code:

       

       

      <div id="background">

        <div id="items">

        <h2>Heard!</h2>

        <p><a href="index.php?status=pending">Pending</a> <a href="index.php?status=planned">Planned</a><a href="index.php?status=declined">Declined</a></p>

        <ol>

          <?php do { ?>

            <li><strong><?php echo $row_Getclan['title']; ?></strong><br />

              <?php echo $row_Getclan['contents']; ?><br />

              by

            <?php echo $row_Getclan['author_name']; ?>, at <?php echo $row_Getclan['created_at']; ?></li>

            <?php } while ($row_Getclan = mysql_fetch_assoc($Getclan)); ?>

        </ol>

        <p><a href="<?php printf("%s?pageNum_Getclan=%d%s", $currentPage, max(0, $pageNum_Getclan - 1), $queryString_Getclan); ?>">Previous </a>Showing <?php echo ($startRow_Getclan + 1) ?>...<?php echo min($startRow_Getclan + $maxRows_Getclan, $totalRows_Getclan) ?> out of <?php echo $totalRows_Getclan ?> <a href="<?php printf("%s?pageNum_Getclan=%d%s", $currentPage, min($totalPages_Getclan, $pageNum_Getclan + 1), $queryString_Getclan); ?>">Next</a></p>

      </div>

      <div id="create">

        <h2>Speak</h2>

        <form action="<?php echo $editFormAction; ?>" method="post" name="form1" id="form1">

          <table align="center">

            <tr valign="baseline">

              <td nowrap="nowrap" align="right">Title:</td>

              <td><input type="text" name="title" value="" size="32" /></td>

            </tr>

            <tr valign="baseline">

              <td nowrap="nowrap" align="right" valign="top">Contents:</td>

              <td><textarea name="contents" cols="50" rows="5"></textarea></td>

            </tr>

            <tr valign="baseline">

              <td nowrap="nowrap" align="right">Your_name:</td>

              <td><input type="text" name="author_name" value="" size="30" /></td>

            </tr>

            <tr valign="baseline">

              <td nowrap="nowrap" align="right">Your_email:</td>

              <td><input type="text" name="author_email" value="" size="30" /></td>

            </tr>

            <tr valign="baseline">

              <td nowrap="nowrap" align="right"> </td>

              <td><input type="submit" value="Insert record" /></td>

            </tr>

          </table>

          <input type="hidden" name="MM_insert" value="form1" />

        </form>

      </div></div>

       

       

       

      Thank you.