osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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')) ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 03-15-2005, 01:10 PM
New Member
 
Join Date: Jan 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
matty102
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-15-2005, 02:32 PM
Active Member
 
Join Date: May 2004
Location: worcester ma
Posts: 162
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
fridgemags
Default RE: alignment problem

Try removing the <table> tags and just use the <tr> and <td>
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-16-2005, 09:43 AM
New Member
 
Join Date: Jan 2005
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
matty102
Default

Thanks very much, this worked perfectly. Your a star!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Subcategory Alignment fuzzyphil osCMax v1.7 Discussion 0 10-27-2006 02:38 AM
table alignment bibleman osCMax v2 Customization/Mods 5 07-30-2005 12:10 PM
right column alignment issues homeless osCommerce 2.2 Modification Help 1 03-10-2004 07:11 AM
Box content alignment ajax osCommerce 2.2 Modification Help 0 09-28-2003 06:45 PM
Page alignment disorder! mskitti osCommerce 2.2 Installation Help 0 09-27-2003 05:40 PM


All times are GMT -8. The time now is 06:39 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax