Results 1 to 3 of 3

alignment problem

This is a discussion on alignment problem within the osCmax v1.7 Discussion forums, part of the osCmax v1.7 Forums category; Hi all, I have added a test banner to column_right.php by adding the following code; if ($banner = tep_banner_exists('dynamic', '468x50')) ...

      
  1. #1
    New Member
    Join Date
    Jan 2005
    Posts
    16
    Rep Power
    0


    Default alignment problem

    Hi all,

    I have added a test banner to column_right.php by adding the following code;

    if ($banner = tep_banner_exists('dynamic', '468x50')) {
    ?>
    <br>
    <table border="0" width="100%" cellspacing="0" cellpadding="0">
    <tr>
    <td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
    </tr>
    </table>
    <?php
    }

    This has worked fine but moves the bottom of my page out of alignment on all pages.

    It is probably easier to look at the attachment to see what I mean.

    Has anyone any idea why?

    Thanks

  2. #2
    Active Member
    Join Date
    May 2004
    Location
    worcester ma
    Posts
    162
    Rep Power
    0


    Default RE: alignment problem

    Try removing the <table> tags and just use the <tr> and <td>

  3. #3
    New Member
    Join Date
    Jan 2005
    Posts
    16
    Rep Power
    0


    Default

    Thanks very much, this worked perfectly. Your a star!

Similar Threads

  1. Subcategory Alignment
    By fuzzyphil in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 10-27-2006, 03:38 AM
  2. table alignment
    By bibleman in forum osCmax v2 Customization/Mods
    Replies: 5
    Last Post: 07-30-2005, 01:10 PM
  3. right column alignment issues
    By homeless in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 03-10-2004, 08:11 AM
  4. Box content alignment
    By ajax in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 09-28-2003, 07:45 PM
  5. Page alignment disorder!
    By mskitti in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 09-27-2003, 06:40 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •