A Design Trick For Mobile Web Application

13-02-2015

If you design mobile web application, your layout should look like as follows:

Css:

/*you can use other html elements that needs word-wrap*/
h1,h2,h3,h4,p,span,label{
    word-wrap: break-word;
}
.page {
    height: 100%;
    padding: 10px;
}
.topic {
    text-align: justify;
}

Html:

<div class="page">
    <div class="topic">
    <!--other html elements-->
    </div>
</div>

© 2019 All rights reserved. Codesenior.COM