content styling problems IBM worklight
I am trying to make a simple app using worklight 5.0. Now Here is a
screenshot of my app on my device -
Now the problem is almost negligible, but i want to fix this. See in the
screenshot above before the divider there is some blank space, now this
blank space is a part of my image if you download it and see, you will see
it clearly. Now in my Css i have already defined the height to be 100% but
still this 10-20px margin is there at the bottom and i dont know why....
Below are my HTML and CSS file's content in case you might wanna review it.
#content{
height:100%;
width:100%;
margin:0;
background: -moz-linear-gradient(top, #1e5799 0%, #7db9e8 49%, #2989d8
100%);
background: -webkit-gradient(linear, left top, left bottom,
color-stop(0%,#1e5799),
color-stop(49%,#7db9e8), color-stop(100%,#2989d8));
background: -webkit-linear-gradient(top, #1e5799 0%,#7db9e8 49%,#2989d8
100%);
background: -o-linear-gradient(top, #1e5799 0%,#7db9e8 49%,#2989d8 100%);
background: -ms-linear-gradient(top, #1e5799 0%,#7db9e8 49%,#2989d8
100%); /* IE10+ */
background: linear-gradient(to bottom, #1e5799 0%,#7db9e8 49%,#2989d8
100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient(
startColorstr='#1e5799', endColorstr='#2989d8',GradientType=0 );
}
<body id="content">
<div data-dojo-type="dojox.mobile.View" id="oneTwoTest"
data-dojo-props="selected:true" >
<div data-dojo-type="dojox.mobile.Heading"
data-dojo-props="label:'HTML'"></div>
<div data-dojo-type="dojox.mobile.ScrollableView" id="aboutView"
data-dojo-props="scrollDir:'v'">
<div data-dojo-type="dojox.mobile.ContentPane"
id="aboutViewContentPane" href="pages/about.html" ></div>
</div>
</div>
is there any modification i am supposed to do in wlclient.css or any other
change you think?
No comments:
Post a Comment