Style.Borderleft
Properti style.borderLeft dipakai untuk menetapkan style.borderLeftWidth, style.borderLeftStyle, dan style.borderLeftColor dalam satu deklarasi.
Sintaks:
obj.style.borderLeft = value;
Nilainya:
- sub-style.borderLeft
Properti style.borderLeftWidth, style.borderLeftStyle, dan style.borderLeftColor yang dipisahkan spasi.
inherit
.
Contoh:
<HTML> <HEAD> <TITLE>style.borderLeft</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.borderLeft = "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.