?
Solved

CSS not updating in FF and ipad

Posted on 2016-11-01
6
Medium Priority
?
110 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 84

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 58

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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 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 58

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Learn about the eCommerce marketing trends for the year ahead.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …
Suggested Courses
Course of the Month11 days, 14 hours left to enroll

752 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