Style.Borderbottom
Properti style.borderBottom dipakai untuk tetapkan style.borderBottomWidth, style.borderBottomStyle, dan style.borderBottomColor dalam satu deklarasi.
Sintaks:
obj.style.borderBottom = value;
Nilainya:
- sub-style.borderBottom
Properti style.borderBottomWidth, style.borderBottomStyle, dan style.borderBottomColor yang dipisahkan spasi.
inherit
Contoh:
<HTML> <HEAD> <TITLE>style.borderBottom</TITLE> <STYLE TYPE="text/css"> #mydiv { width: 500px; height: 500px; margin: 0 auto; border: solid red 1px; } </STYLE> </HEAD> <BODY> <DIV ID="mydiv"></DIV> <SCRIPT TYPE="text/javascript"> document.getElementById("mydiv").style.borderBottom = "15px dashed green"; </SCRIPT> </BODY> </HTML>
Demikian yang dapat kami share kepada sobat source code aplikasi pada kesempatan ini, semoga dapat bermanfaat dan bisa menjadi referensi pemrograman bagi anda. Jangan lupa like
Fan Page kami, dan
SUBSCRIBE Channel Youtube kami untuk dapatkan update source code aplikasi terbaru.