PDA

View Full Version : Trying to refresh a page in the head tag. Thanks for any help


method9
09-12-2002, 05:27 PM
I have a problem with a pesky table that every time the page loads it jumps to the left by 5 pixels. I am trying to align the graphic hard right to the edge of the browser, in a table on the very top of the page. Yes I have my table set to 100% and it still seems to jump. This seems to be a bug in IE so what I want to do is every time the user clicks on a button in the menu bar the page that is loading (so the code would need to be on every page) that when the page is loading it does a quick refresh to stop the graphic from jumping. I actually got it to work with onload=refresh and then window.refresh but it caused syntax errors. SO I need it to refresh so no one can tell its refreshing. If anyone can help me out it would be appreciated. Thanks

beetle
09-12-2002, 05:28 PM
Uh. I think you need to work the problem here, and not the symptom. Do you have a link to this page online?

method9
09-12-2002, 05:43 PM
http://216.64.211.234/hancock2/index.asp

I have taken out all of the code so you can see it jumping to the left. Just navigate through the menu bar and the top right graphic will jump.

beetle
09-12-2002, 06:07 PM
Hmmm, I see that. I tried replacing your table with this<div style="width: 100%; height: 83px">
<img src="http://216.64.211.234/hancock2/images/top_left_logo.gif" width="250" height="81" style="float: left; align: left;">
<img src="http://216.64.211.234/hancock2/images/main_top_right.jpg" width="472" height="83" style="float: right; align: right;">
</div> And got the same result. Seems like a rendering error in IE.

method9
09-12-2002, 10:29 PM
thats why I was trying to force a refresh when the page loads, with a window.refresh and then an onload=refresh in the body tag of the HTML -- I really hope someone knows how to do this I am down to the deadline on this website. thanks for trying. Thanks anyone who helps