Solved

CSS not updating in FF and ipad

Posted on 2016-11-01
6
72 Views
Last Modified: 2016-11-02
If you go to this page: http://inspyrus(DOT)com/solutions/dynamic-discounting/ and resize your browser to the size of a tablet and scroll down to: Unparalleled Innovation

In Chrome you will see an animated graphic (mp4) but the CSS has not changed in FF or on the ipad.  What may be causing this?
0
Comment
Question by:rgranlund
  • 2
  • 2
  • 2
6 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41869334
You have an 'mp4' in a container that says <source type="video/ogg" which is a mismatch.  Try getting rid of that and leave just the <source type="video/mp4" line.
0
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 41869763
You have this in your stylesheet
@media only screen and (max-width: 767px) {
    .video-cover{display: none;}

Open in new window

That is hiding the video box at resolutions below 767
0
 
LVL 7

Author Comment

by:rgranlund
ID: 41870785
I have  .video-cover{display: block;}

It seems as if my ipad won't update the css as I make changes.  Have you ever run into it or know the solution?
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 41870823
That's not unusual.  Most browsers cache CSS and javascript files which means they often don't update when you update the main page.
0
 
LVL 7

Author Comment

by:rgranlund
ID: 41870916
@Dave.  I tried that.  It does not seem like my files are updating on my iPad though.  I may need to look into that first.
0
 
LVL 54

Expert Comment

by:Julian Hansen
ID: 41871225
Your style sheet has a media query in it to set
.video-cover{display: none;}

The video-cover: {display: block} is being overridden by the media query.

That is why the "animation stopped" when you hide video-cover the image with the static graph is shown
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to customize the background color and font color of highlighted text using the ::selection element in CSS Begin by defining the selected text as an element in CSS by typing "::selection": Style the ::selection…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question