Skip to content
knowthelist edited this page Mar 4, 2016 · 3 revisions

Special format for a label

give your label a id="label1" and add following styles to your

<link rel="stylesheet" href="/fhem/tablet/css/fhem-tablet-ui-user.css" />
#hier>.label-precomma{
    font-size:100%;
}
#label1 > .label-comma{
    left: 3px;
    top: -24px;
    position: relative;
}
#label1 > .label-aftercomma{
    font-size:40%;
    left: 4px;
    top: -25px;
    position: relative;
}
#label1 > .label-unit{
    font-size:40%;
    left: -20px;
    top: 1px;
    position: relative;
}

Clone this wiki locally