This question is locked. New answers and comments are not allowed.
Hi there
We are new to using Icenium so this could well be user error but when we are styling <a> tags with classes it seeme we have to add a style attribute to the a tag for format the colour and font weight of the a tag rather than doing it in the class in the stylesheet
e.g:
<div data-role="view" data-title="Home">
<div id="home"><a class="button" style="color: #fff; font-weight: normal;" href="#stretchview">Some text</a></div>
</div>
.button {
width: 204px;
height: 27px;
line-height: 27px;
display: block;
margin-left: auto;
margin-right: auto;
font-style: italic;
text-decoration: none;
text-align: center;
background-image: linear-gradient(top, #24aae2 30%, #25abe2 50%, #249acd 60%, #229ed5 70%);
background-image: -o-linear-gradient(top, #24aae2 30%, #25abe2 50%, #249acd 60%, #229ed5 70%);
background-image: -moz-linear-gradient(top, #24aae2 30%, #25abe2 50%, #249acd 60%, #229ed5 70%);
background-image: -webkit-linear-gradient(top, #24aae2 30%, #25abe2 50%, #249acd 60%, #229ed5 70%);
background-image: -ms-linear-gradient(top, #24aae2 30%, #25abe2 50%, #249acd 60%, #229ed5 70%);
background-image: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(0.30, #24aae2),
color-stop(0.50, #25abe2),
color-stop(0.60, #249acd),
color-stop(0.70, #229ed5)
);
}
Many thanks
Eric
We are new to using Icenium so this could well be user error but when we are styling <a> tags with classes it seeme we have to add a style attribute to the a tag for format the colour and font weight of the a tag rather than doing it in the class in the stylesheet
e.g:
<div data-role="view" data-title="Home">
<div id="home"><a class="button" style="color: #fff; font-weight: normal;" href="#stretchview">Some text</a></div>
</div>
.button {
width: 204px;
height: 27px;
line-height: 27px;
display: block;
margin-left: auto;
margin-right: auto;
font-style: italic;
text-decoration: none;
text-align: center;
background-image: linear-gradient(top, #24aae2 30%, #25abe2 50%, #249acd 60%, #229ed5 70%);
background-image: -o-linear-gradient(top, #24aae2 30%, #25abe2 50%, #249acd 60%, #229ed5 70%);
background-image: -moz-linear-gradient(top, #24aae2 30%, #25abe2 50%, #249acd 60%, #229ed5 70%);
background-image: -webkit-linear-gradient(top, #24aae2 30%, #25abe2 50%, #249acd 60%, #229ed5 70%);
background-image: -ms-linear-gradient(top, #24aae2 30%, #25abe2 50%, #249acd 60%, #229ed5 70%);
background-image: -webkit-gradient(
linear,
left top,
left bottom,
color-stop(0.30, #24aae2),
color-stop(0.50, #25abe2),
color-stop(0.60, #249acd),
color-stop(0.70, #229ed5)
);
}
Many thanks
Eric