Forum Moderators: not2easy
<div class="container-fluid">
<img class="image-center img-responsive header" src="../images/image.png" alt="Example"/>
</div> .container-fluid{padding-right:5%;padding-left:5%}
.header{margin:0 0 10px 0;}
.image-center{display:block;margin-left:auto;margin-right:auto;} expiresActive On
# Cache files for 7 days -- forced revalidation
<FilesMatch "\.(gif|jpe?g|png|bmp|js|css)$">
expiresDefault A604800
Header set Cache-Control: "no-cache, must-revalidate"
</FilesMatch> Header set Cache-Control: "no-cache, must-revalidate"That isn't the only reason it can fail to load, but the most likely from what you've posted.
expiresDefault A604800says "cache for one week". To set a further expiration - like a year - you could use
ExpiresDefault A29030400
Header set Cache-Control: "no-cache, must-revalidate" with Header append Cache-Control "public"
display: table;
content: " ";
box-sizing: border-box; [edited by: lucy24 at 4:53 pm (utc) on May 15, 2015]
If the image is used consistently in all pages in an element of such-and-such class, wouldn't it be more efficient to define it as a background-image in the CSS instead of saying the same thing in every page's HTML?
Personally, I prefer Chrome (though IE's are similar).
what's the difference