FHEM Forum

FHEM => Frontends => FLOORPLAN => Thema gestartet von: hermann258 am 05 Februar 2018, 09:56:15

Titel: CSS und Border in .devicename und .devicestate
Beitrag von: hermann258 am 05 Februar 2018, 09:56:15
Hallo
Wie bekomme ich Border in

.devicename {
font-size : 18px;
text-align : center;
color : #ffffff;
background-color : #2D4758;
background-image : url(../images/default/ae.png);
background-repeat : no-repeat;
}
.devicestate {
font-size : 18px;
text-align : center;
color : #676a67;
background-color : #ffffff;
}

angezeigt

mit
border : 1 solid #cccccc;
geht das nicht

Gruß Hermann
Titel: Antw:CSS und Border in .devicename und .devicestate
Beitrag von: mchilli am 05 Februar 2018, 10:06:53
px vergessen.
border: 1px solid #cccccc;
LG
Titel: Antw:CSS und Border in .devicename und .devicestate
Beitrag von: hermann258 am 05 Februar 2018, 10:23:14
funktioniert leider nicht
wenn ich es in

table {
min-width : 200px;
}
table a:hover {
color : #ffffff;
}


passt es auch nicht
Titel: Antw:CSS und Border in .devicename und .devicestate
Beitrag von: mchilli am 05 Februar 2018, 10:27:20
wahrscheinlich müsstest du dann noch bei table:
table {
    border-collapse: collapse;
}

ändern.

oder du sprichst die zellen direkt an mit:
.devicename td {
#dein css code
}

.devicestate td {
#dein css code
}

LG