Free Microsoft Office 2010 Download! NOW!
 

Gallery in Firefox and IE

Filed in: Mozilla, Site News — January 25th, 2005

advertisement

Gallery thumbnail is screw up in Firefox Gallery thumbnail in IE is fine

Firefox does not rendering the Gallery image thumbnail frame border well(left). Internet Explorer has no problem about it(right).

For the reason, I do not set any frame border for my Gallery. I am looking the workaround for the matter. Probably an upgrade to the latest version of Gallery(1.4.4-pl4).

Please let me know if you have a solution.

Read also:

  • For what it's worth, here's a cludge that works well in many cases, as long as you're only interested in solid (or other CSS-based) borders.

    First, make a change to gallery/css/embedded_style.css.default
    Add:

    .photo-table img {
    border: 1px solid #000;
    }


    Then, add the new class name to the <tr> tag in gallery/albums.php (line 295):

    </tr><tr class="photo-table">
    <!-- Begin Image Cell -->


    Finally, add a class to the </tr><tr> in galler/view_album.php (line 712):

    if ($printTableRow) {
    echo('
    </tr><tr class="photo-table">');
    }


    Obviously change your css border to your liking.</tr>
  • thank you the tips, tobby!
blog comments powered by Disqus