Properti style.background ialah bentuk shorthand untuk mendeklarasikan style.backgroundColor, style.backgroundImage, style.backgroundRepeat, style.backgroundAttachment, dan style.backgroundPosition dalam satu deklarasi. Sintaks: obj.style.background = value;…
Properti style.backgroundAttachment berkhasiat dikala BACKGROUND atau BACKGROUND-IMAGE digunakan, di mana style.backgroundAttachment mengatur bagaimana gambar dikala adanya scroll, ikut terscroll atau…
Properti style.backgroundColor dipakai untuk menetapkan warna tertentu latarbelakang suatu elemen. Sintaks: obj.style.backgroundColor = value; Nilainya: color Hex color, RGB color,…
Properti style.backgroundImage dipakai untuk menetapkan latarbelakang suatu elemen dengan suatu file gambar. Sintaks: obj.style.backgroundImage = value; Nilainya: none (default) Menetapkan…
Properti style.backgroundPosition dipakai untuk mengatur posisi BACKGROUND atau BACKGROUND-IMAGE. Sintaks: obj.style.backgroundPosition = value; Nilainya: Length Keywords left top left center…
Properti style.backgroundRepeat mempunyai kegunaan saat BACKGROUND atau BACKGROUND-IMAGE digunakan, di mana style.backgroundRepeat mengatur tampilan pengulangan dari gambar. Sintaks: obj.style.backgroundRepeat =…
Properti style.border ialah bentuk shorthand untuk menetapkan style.borderWidth, style.borderStyle, dan style.borderColor dalam satu deklarasi. Sintaks: obj.style.border = value; Nilainya: sub-style.border…
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,…
Properti style.borderBottomColor dipakai untuk tetapkan warna border bawah suatu elemen. Sintaks: obj.style.borderBottomColor = value; Nilainya: color Hex color, RGB color,…
Properti style.borderBottomStyle dipakai untuk menetapkan style border bawah suatu elemen. Sintaks: obj.style.borderBottomStyle = value; Nilainya: Constants none (default), dotted, dashed,…
Properti style.borderBottomWidth dipakai untuk menetapkan lebar border bawah suatu elemen. Sintaks: obj.style.borderBottomWidth = value; Nilainya: Length Constants thin, medium (default),…
Properti style.borderColor dipakai untuk menetapkan warna border suatu elemen. style.borderColor memungkinkan mengatur warna border yang berbeda-beda untuk keempat sisi border…
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,…
Properti style.borderLeftColor dipakai untuk tetapkan warna border kiri suatu elemen. Sintaks: obj.style.borderLeftColor = value; Nilainya: color Hex color, RGB color,…
Properti style.borderLeftStyle dipakai untuk menetapkan style border kiri suatu elemen. Sintaks: obj.style.borderLeftStyle = value; Nilainya: Constants none (default), dotted, dashed,…
Properti style.borderLeftWidth dipakai untuk menetapkan lebar border kiri suatu elemen.
Properti style.borderRight dipakai untuk menetapkan style.borderRightWidth, style.borderRightStyle, dan style.borderRightColor dalam satu deklarasi. Sintaks: obj.style.borderRight = value; Nilainya: sub-style.borderRight Properti style.borderRightWidth,…
Properti style.borderRightColor dipakai untuk menetapkan warna border kanan suatu elemen. Sintaks: obj.style.borderRightColor = value; Nilainya: color Hex color, RGB color,…
Properti style.borderRightStyle dipakai untuk menetapkan style border kanan suatu elemen. Sintaks: obj.style.borderRightStyle = value; Nilainya: Constants none (default), dotted, dashed,…
Properti style.borderRightWidth dipakai untuk tetapkan lebar border kanan suatu elemen.