Fork me on GitHub

Autotheme and php includes  Bottom

  • I can't seem to figure out why I keep losing the background image when I using a PHP include my AutoTheme template. This is the code here:

    Code

    <td align="left" style="background-image:url(<!-- [image-path] -->headerExpand.jpg);" width="100%">
        <!-- This is where the Marino Menu needs to go -->
        <?php
        include ("http://www.freedffl.com/ffl/reports/horizontal_menu.php");
        ?>
        </td>


    I've even gone so far as to include the background image in to my horizontal_menu.php.

    Can anyone offer any advice?
  • You would have to provide a link to this working.

    By looking at the generated menu code, it shows that it includes its own stylesheet and sets a background image in a table td. Either of these could be overriding the background that you have set.

    -Shawn

    --
    Get the Revolutionary AutoTheme HTML Theme System! Currently for Zikula, PHP-Nuke, CRE Loaded, osCommerce and Wordpress!

This list is based on users active over the last 60 minutes.