brown2005 Posted December 6, 2006 Share Posted December 6, 2006 Hi,I am having problems with a table on my site. When I log in, the table is stretched... but when i click refresh it is the correct size..ne ideas? Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/ Share on other sites More sharing options...
Daniel0 Posted December 6, 2006 Share Posted December 6, 2006 Try to clear your cache. Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/#findComment-136129 Share on other sites More sharing options...
brown2005 Posted December 6, 2006 Author Share Posted December 6, 2006 how u do that? Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/#findComment-136141 Share on other sites More sharing options...
Daniel0 Posted December 6, 2006 Share Posted December 6, 2006 Ctrl+F5ORIn Firefox you go to Tools > Clear Private Data > Check only cache (or anything else you'd like cleared) > Clear Private Data NowIn IE6 you go to* Tools > Internet Settings > Temporary Internet Files > Check "Delete all offline contents" > OK* I have a Danish version installed, so my translations may not be exactly correct of what it is in the English version. Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/#findComment-136512 Share on other sites More sharing options...
brown2005 Posted December 7, 2006 Author Share Posted December 7, 2006 ok, cool, well that works, but I dont want me or people to my site to be doing this everytime, how can i avoid it...? Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/#findComment-136744 Share on other sites More sharing options...
Daniel0 Posted December 7, 2006 Share Posted December 7, 2006 It probably wont happen to them. You might have got the code that you have made wrong at some time in your cache so it shouldn't happen to your users. Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/#findComment-136752 Share on other sites More sharing options...
brown2005 Posted December 7, 2006 Author Share Posted December 7, 2006 thanks, but i dont want it to keep happening to me so what can I do? do i need to rewrite all the code so it works or is there an easier way? Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/#findComment-136765 Share on other sites More sharing options...
DeathStar Posted December 7, 2006 Share Posted December 7, 2006 Just thinking....For just a refresh insert this button[code]<DIV style="position:absolute;left:60px;top:58px;width:150px;height:48px;z-index:0" align="center"><BUTTON type="button" onClick="window.location.reload()" name="Reload" value="Reload" style="width:150px;height:48px;border:1px #FF0000 solid;background-color:#000000"><P><FONT style="font-size:13px" color="#FF0000" face="Arial">See Something wrong <U>Click Here</U></FONT></P></BUTTON></DIV>[/code]Edit it to ur likings!! Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/#findComment-136790 Share on other sites More sharing options...
txmedic03 Posted December 7, 2006 Share Posted December 7, 2006 Some how I don't think that a refresh button has anything to do with the original question. I think a no-cache in the header would do the trick though. Simply what it would do is keep the browser from caching the contents of the page. Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/#findComment-137026 Share on other sites More sharing options...
brown2005 Posted December 8, 2006 Author Share Posted December 8, 2006 how do u do that then mate, please? Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/#findComment-137359 Share on other sites More sharing options...
liam1412 Posted December 8, 2006 Share Posted December 8, 2006 any of these will do the trick. Or all of them if you wnat to be suresession_cache_expire( 0 );session_cache_limiter( "nocache" );header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");header("Cache-Control: no-store, no-cache, must-revalidate");header("Cache-Control: post-check=0, pre-check=0", false);header("Pragma: no-cache"); Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/#findComment-137388 Share on other sites More sharing options...
brown2005 Posted January 18, 2007 Author Share Posted January 18, 2007 Hi,I have used the above and my tables have still stretched.. any ideas?the site its happening on ishttp://www.randomhomepage.co.uk/homepages/index.php?page=websitesits fine when i first go to it, then when i click on websites in the nav it stretches.. Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/#findComment-163753 Share on other sites More sharing options...
DeathStar Posted January 19, 2007 Share Posted January 19, 2007 Does'nt happen to me :-[ all the pages seem to be fine ???just a broken link :P Quote Link to comment https://forums.phpfreaks.com/topic/29656-tables-have-stretched/#findComment-164300 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.