Welcome Guest, Not a member yet? Register   Sign In
I am having a weird issue with CSS.
#6

[eluser]codelogic[/eluser]
[quote author="Aken" date="1338355414"]You can change your CSS link to this to help prevent caching. Useful for during development, not recommended for production:

Code:
<link rel="stylesheet" href="/main/test/CI/css/style.css?<?php echo time(); ?>">

It won't change anything in your file, just force the browser to reload it every time rather than going off a cache.

If that doesn't help, then you're doing something else. Perhaps you've forgotten to upload the file, and your Chrome version is checking local instead of live. Or something of that nature.[/quote]

Thanks InsiteFX and Aken. Insite, for some reason that line prevented my page from loading.

Aken, that worked! What is that line echo time() doing?


Messages In This Thread
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 09:57 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 10:03 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 10:13 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 10:20 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 10:23 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 10:32 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 10:40 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 10:52 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 10:53 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 10:54 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 10:56 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 10:59 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 11:00 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 11:02 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 11:11 PM
I am having a weird issue with CSS. - by El Forum - 05-29-2012, 11:13 PM
I am having a weird issue with CSS. - by El Forum - 05-30-2012, 12:13 AM
I am having a weird issue with CSS. - by El Forum - 05-30-2012, 12:22 AM
I am having a weird issue with CSS. - by El Forum - 05-30-2012, 01:04 AM



Theme © iAndrew 2016 - Forum software by © MyBB