CSS not rendering on android client

Greetings,

I have a weird problem and cannot seem to solve it.
I have an embedded html page on my presentation. And it uses CSS. However on a windows client it works perfectly but on an android client it doesn’t seem to render the CSS.

Here is the CSS file:

<style type="text/css">
html, body {
  overflow-x: hidden;
}

body {
  background: #fff;
  font-family: "Open Sans", sans-serif;
  margin: 0;
  padding: 0;
}

h2 {
  font-size: 3em;
  text-align: center;
  margin: 0;
}

h5 {
  text-align: center;
  margin: 0 0 3em;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0em 0 0em;
}
.container ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.example1 {
  position: relative;
  background: #ecf0f1;
}
.example1:before, .example1:after {
  content: "";
  position: absolute;
  background: #fff;
  top: 0;
  bottom: 0;
  width: 9999px;
}
.example1:before {
  right: 100%;
}
.example1:after {
  left: 100%;
}

#tw-widget1 li {
  background: #fff;
  max-width: 1000px;
  min-width: 300px;
  position: relative;
  border-radius: 1px;
  margin: 0 auto;
}
#tw-widget1 a {
  text-decoration: none;
}
#tw-widget1 .user {
  background: #FD7A79;
  padding: 20px 20px 16px;
  position: relative;
  border-radius: 6px 6px 0px 0px;
  border-bottom: 1px solid #fd6160;
}
#tw-widget1 .user a span {
  position: absolute;
  display: block;
  top: 0;
  text-align: left;
}
#tw-widget1 .user a span[data-scribe="element:name"] {
  position: absolute;
  top: 21px;
  left: 55px;
  font-size: 20px;
  color: white;
  font-weight: bold;
}
#tw-widget1 .user a span[data-scribe="element:screen_name"] {
  position: absolute;
  top: 42px;
  left: 74px;
  font-size: 0px;
  color: white;
}
#tw-widget1 .tweet {
  margin: 0;
  padding: 20px;
  color: #4d4d4d;
  font-weight: bold;
  font-size: 30px;
}
#tw-widget1 .tweet a {
  color: #4d4d4d;
  font-weight: bold;
  text-decoration: none;
}
#tw-widget1 .tweet a[data-scribe="element:url"] {
  color: #00ae8e;
}
#tw-widget1 .tweet a[data-scribe="element:hashtag"] {
  color: #FD7A79;
}
#tw-widget1 .interact {
  margin: 0;
  padding: 0;
  position: relative;
  background: #04C6C4;
  border-radius: 0px 0px 6px 6px;
  border-top: 1px solid #03adab;
}
#tw-widget1 .interact a {
  padding: 15px 0;
  text-decoration: none;
  color: #fff;
  background: #04C6C4;
}
#tw-widget1 .interact a:hover {
  color: #4d4d4d;
  background: #04bcba;
}
#tw-widget1 .interact a:active {
  box-shadow: inset 0px 0px 10px -4px rgba(0, 0, 0, 0.75);
}
#tw-widget1 .interact a:first-child {
  border-radius: 0px 0px 0px 6px;
}
#tw-widget1 .interact a:last-child {
  border-radius: 0px 0px 6px 0px;
}
#tw-widget1 .timePosted {
  margin: 0 0 10px;
  padding: 0 20px;
  font-size: 20px;
  text-align: right;
}
#tw-widget1 .timePosted:before {
  font-family: "Fontawesome";
  -webkit-font-smoothing: antialiased;
  content: "";
  padding-right: 4px;
}
</style>

Any idea why it isn’t rendering?

Btw this is the html:

<section class="example1 container">
	<div id="tw-widget1">
	</div>
</section>

How are you referencing the CSS file from the HTML?

I am not referencing. I am using the "embedded " html option.
In the upper part I created the part. The middle tab is and the last part is .

I don’t see how I can reference to the css part.

As a temporary solution I created the script as a webpage and used “external web content”. When I do this the css is rendered correctly. Thoug different than on windows and needed to rewrite the css with new amount of pixels etc…

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.