HTML5 APPLICATIONS DEVELOPMENT MANUAL

(lu) #1
  • JAVA

  • CSS




  • Using CSS, we can display it as an inline element.


    .toolbar li {
    display:inline;
    background-color: green;
    border: 1px solid;
    border-color: #F3F3F3 #BBB #BBB #F3F3F3;
    margin: 2px;
    padding: .5em;
    }


    Positioning


    The position property specifies the type of positioning method used


    for an element (static, relative, absolute or fixed).


    static positions an element within its


    normal flow


    relative positions an element in relation to


    where it would normally be

    Free download pdf