Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2006
    Posts
    27
    Plugin Contributions
    0

    Default Table Problems with Images in IE - Auto Overspacing

    Strange things happened to tables with images in side. Whenever I insert a new product or a new page with a table and images inside, the table width just goes all the way sideways exceeding the screen resolution.

    It just happens in Internet Explorer

    Here's the example:

    http://www.art-sam.com/shop2/index.p...products_id=55




    So, the first table looks normal because I specified the width of the image, but if I just specify the height of the image, the result would be one on the second table.

    However, if I save the file standalone and open it in IE, everything works.

    HTML validation is correct too.

    I'm wondering if it's caused by some stylesheet problems but I couldn't find any.

    Here's the code:

    Code:
    <!-- NORMAL ONE -->
    <table border="1" width="480">
        <tr>
            <td width="120">
            <p align="center">
            <img border="0" src="http://www.art-sam.com/example.jpg" width="82" height="100"></td>
            <td width="120">
            <p align="center">
            <img border="0" src="http://www.art-sam.com/example.jpg" width="82" height="100"></td>
            <td width="120">
            <p align="center"><img border="0" src="http://www.art-sam.com/example.jpg" width="82" height="100"></td>
            <td width="120">
            <p align="center"><img border="0" src="http://www.art-sam.com/example.jpg" width="82" height="100"></td>
        </tr>
    </table>
    
    <br />
    
    <!-- PROBLEMATIC ONE -->
    <table border="1" width="480">
        <tr>
            <td width="120">
            <p align="center">
            <img border="0" src="http://www.art-sam.com/example.jpg" height="100"></td>
            <td width="120">
            <p align="center">
            <img border="0" src="http://www.art-sam.com/example.jpg" height="100"></td>
            <td width="120">
            <p align="center"><img border="0" src="http://www.art-sam.com/example.jpg" height="100"></td>
            <td width="120">
            <p align="center"><img border="0" src="http://www.art-sam.com/example.jpg" height="100"></td>
        </tr>
    </table>
    Has anybody ever had this problem before? Any Ideas?

    Thanks!

  2. #2
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,706
    Plugin Contributions
    12

    Default Re: Table Problems with Images in IE - Auto Overspacing

    If you can ever talk a table into doing a float, you've got it made!

    A perfect example of why the US has a 508 accessibility law for federal computers (bans the use of tables EXCEPT for tabular data) and Zen is working towards a truly table-free environment.

    BTW, for those of you that want to insist that you can make a table float left, can any of your code be as simple as float: left;?
    A little help with colors.
    myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
    Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.

 

 

Similar Threads

  1. Problems with Shipping Table
    By Dutch_Lady in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 20 May 2015, 11:07 PM
  2. Problems with FTP images
    By charmedbytina2 in forum General Questions
    Replies: 10
    Last Post: 21 May 2008, 11:51 PM
  3. Problems with new images
    By GTrotter in forum General Questions
    Replies: 4
    Last Post: 30 Dec 2007, 04:41 PM
  4. Table Rate Calculation Problems with Negative values
    By matt123 in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 15 Dec 2007, 06:28 AM
  5. Using a Table with Rollover Images in the tpl_header.php
    By vegascoug in forum Templates, Stylesheets, Page Layout
    Replies: 17
    Last Post: 3 Aug 2006, 12:08 AM

Posting Permissions

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