Weirdest problem I've seen in a while...

admin

Administrator
Staff member
Here's the weirdest problem I've seen in a long time. If you can figure it out, you win the title of Supreme HTML God, because I am completely mystified:<br />
<br />
For no apparent reason, Internet Explorer on PC refuses to print any of my files past the first 1 1/3 pages. I haven't a clue why, and not a clue how to fix it.<br />
<br />
<!-- m --><a class="postlink" href="http://www.lasikatwills.com/lasik.html">http://www.lasikatwills.com/lasik.html</a><!-- m --> is the best example of the problem, but it can be found throughout the entire site. I made a test page - <!-- m --><a class="postlink" href="http://www.lasikatwills.com/test1.html">http://www.lasikatwills.com/test1.html</a><!-- m --> - without any of the navigation, and to my surprise, it prints perfectly.<br />
<br />
IE on PC is the only browser that has given me any sort of trouble.<br />
<br />
Please tell me someone has run into this problem before, or at least has an idea on how to go about fixing it. I'm not going through each and every piece of HTML and JavaScript on there to find out the exact tag that throws it off. Thanks in advance for any help.<!--content-->Everything printed fine for me, using IE 6.<!--content-->I'm using IE5.5 on a PC and it only printed part of the page. I have never seen this before and I'm afraid I don't know what the problem is. There is obviously something in the code that is upsetting it. It looks like it is a bug that has been fixed in IE6, lets hope that someone here knows what it is and can help you out.<br />
<br />
Sorry I can't be of more help.<!--content-->Only just caught up with this.<br />
<br />
IE 5.0 printing to a networked HP LaserJet 4 gave no problems on the two pages I tried. So either:<br />
  1. <br />
    It's an IE 5.5 problem (is that the version you tried?), or<br />
    It's a printer problem (have you / can you try a different printer?), or<br />
    You've fixed it already?<br />
    [/list=1] <br />
    Or it's something else. :D <br />
    <br />
    Had a look at the source and can see nothing that would worry me.<!--content-->Get rid of this code:<br />
    <br />
    <tr valign="top"><!-- row 3 --> <br />
    <td><img src=http://www.htmlforums.com/archive/index.php/"graphics/slices/shim.gif" width="1" height="25" border="0"></td><br />
    </tr><br />
    <tr valign="top"><!-- row 4 --> <br />
    <td><img src=http://www.htmlforums.com/archive/index.php/"graphics/slices/shim.gif" width="1" height="20" border="0"></td><br />
    </tr><br />
    .<br />
    .<br />
    .<br />
    <br />
    <tr valign="top"><!-- row 14 --> <br />
    <td><img src=http://www.htmlforums.com/archive/index.php/"graphics/slices/shim.gif" width="1" height="214" border="0"></td><br />
    </tr><br />
    <tr> <!-- Shim row, height 1. --> <br />
    <td><img src=http://www.htmlforums.com/archive/index.php/"graphics/slices/shim.gif" width="137" height="1" border="0"></td><br />
    <td><img src=http://www.htmlforums.com/archive/index.php/"graphics/slices/shim.gif" width="30" height="1" border="0"></td><br />
    <td><img src=http://www.htmlforums.com/archive/index.php/"graphics/slices/shim.gif" width="525" height="1" border="0"></td><br />
    <td><img src=http://www.htmlforums.com/archive/index.php/"graphics/slices/shim.gif" width="1" height="1" border="0"></td><br />
    </tr><br />
    <br />
    <br />
    It doesn't do anything (except confuse the printing engine).<br />
    If you have a look at the last part, you see:<br />
    <br />
    <tr><br />
    <td></td><br />
    </tr><br />
    <tr><br />
    <td></td><br />
    <td></td><br />
    <td></td><br />
    <td></td><br />
    </tr><br />
    <br />
    <br />
    This won't work, and just confuses the browser. At the least you'd have to say:<br />
    <br />
    <tr><br />
    <td colspan='4'></td><br />
    </tr><br />
    <tr><br />
    <td></td><br />
    <td></td><br />
    <td></td><br />
    <td></td><br />
    </tr><br />
    <br />
    If the browser spots too many </td> or </tr> elements, it will associate them to any outer table that happens to be there, effectively closing it.<br />
    <br />
    By the way, you have a table who's width is '80%%'.<!--content-->Hrm... I suppose that's what I get for using DreamWeaver. Oddly enough, DreamWeaver's "Clean Up HTML" function didn't remedy any of those unnecessary tags.<!--content-->
 
Back
Top