CONTOH GAMBAR YANG TELAH DI BERI BORDER :
Contoh KODE yang diberikan oleh blogger.com di ruang Posting pada "Mode Edit HTML"
(harap di ingat di ruang posting bukan di Tata Letak!)
KODE HASIL UPLOAD DI BLOGGER (DEFAULT) DG POSISI KIRI (LEFT):
<div class="separator" style="clear:both; text-align:center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRaji6KbFPOKV15NQwIhKSTwHKhHWipgjyetAfMONord1Gf7r60g92JMQAUuUx9Az8FS5SiNSQ0rftQnYcPZTm6jOhxSU2w48wwgY2l3hmtk0qjmIthIxcScVQ8URZ3a4EYWYHaFrYKhQ/s1600/th_gubhugreyot-Carmen.jpg" imageanchor="1" style="clear:left; float:left;margin-right:1em; margin-bottom:1em"><img border="0" height="185" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRaji6KbFPOKV15NQwIhKSTwHKhHWipgjyetAfMONord1Gf7r60g92JMQAUuUx9Az8FS5SiNSQ0rftQnYcPZTm6jOhxSU2w48wwgY2l3hmtk0qjmIthIxcScVQ8URZ3a4EYWYHaFrYKhQ/s320/th_gubhugreyot-Carmen.jpg" />
</a>
</div>
Kode hanya akan kita ambil sebagian agar lebih fleksibel digunakan dalam berbagai alternatif penataan gambar/image. Lihat di bawah ini:<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRaji6KbFPOKV15NQwIhKSTwHKhHWipgjyetAfMONord1Gf7r60g92JMQAUuUx9Az8FS5SiNSQ0rftQnYcPZTm6jOhxSU2w48wwgY2l3hmtk0qjmIthIxcScVQ8URZ3a4EYWYHaFrYKhQ/s1600/th_gubhugreyot-Carmen.jpg" imageanchor="1" style="clear:left; float:left;margin-right:1em; margin-bottom:1em"><img border="0" height="185" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRaji6KbFPOKV15NQwIhKSTwHKhHWipgjyetAfMONord1Gf7r60g92JMQAUuUx9Az8FS5SiNSQ0rftQnYcPZTm6jOhxSU2w48wwgY2l3hmtk0qjmIthIxcScVQ8URZ3a4EYWYHaFrYKhQ/s320/th_gubhugreyot-Carmen.jpg" />
</a>
</div>
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRaji6KbFPOKV15NQwIhKSTwHKhHWipgjyetAfMONord1Gf7r60g92JMQAUuUx9Az8FS5SiNSQ0rftQnYcPZTm6jOhxSU2w48wwgY2l3hmtk0qjmIthIxcScVQ8URZ3a4EYWYHaFrYKhQ/s1600/th_gubhugreyot-Carmen.jpg" imageanchor="1" style="clear:left; float:left;margin-right:1em; margin-bottom:1em">
<img border="0" height="185" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRaji6KbFPOKV15NQwIhKSTwHKhHWipgjyetAfMONord1Gf7r60g92JMQAUuUx9Az8FS5SiNSQ0rftQnYcPZTm6jOhxSU2w48wwgY2l3hmtk0qjmIthIxcScVQ8URZ3a4EYWYHaFrYKhQ/s320/th_gubhugreyot-Carmen.jpg" />
</a>
<img border="0" height="185" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRaji6KbFPOKV15NQwIhKSTwHKhHWipgjyetAfMONord1Gf7r60g92JMQAUuUx9Az8FS5SiNSQ0rftQnYcPZTm6jOhxSU2w48wwgY2l3hmtk0qjmIthIxcScVQ8URZ3a4EYWYHaFrYKhQ/s320/th_gubhugreyot-Carmen.jpg" />
</a>
TAMBAHKAN KODE BARU HINGGA JADI SEPERTI DI BAWAH INI:
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRaji6KbFPOKV15NQwIhKSTwHKhHWipgjyetAfMONord1Gf7r60g92JMQAUuUx9Az8FS5SiNSQ0rftQnYcPZTm6jOhxSU2w48wwgY2l3hmtk0qjmIthIxcScVQ8URZ3a4EYWYHaFrYKhQ/s1600/th_gubhugreyot-Carmen.jpg" imageanchor="1" style="border:6px blue ridge;border-radius:8px;clear:left;float:left;margin-right:1em; margin-bottom:1em">
<img height="185" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRaji6KbFPOKV15NQwIhKSTwHKhHWipgjyetAfMONord1Gf7r60g92JMQAUuUx9Az8FS5SiNSQ0rftQnYcPZTm6jOhxSU2w48wwgY2l3hmtk0qjmIthIxcScVQ8URZ3a4EYWYHaFrYKhQ/s320/th_gubhugreyot-Carmen.jpg" />
</a>
<img height="185" width="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRaji6KbFPOKV15NQwIhKSTwHKhHWipgjyetAfMONord1Gf7r60g92JMQAUuUx9Az8FS5SiNSQ0rftQnYcPZTm6jOhxSU2w48wwgY2l3hmtk0qjmIthIxcScVQ8URZ3a4EYWYHaFrYKhQ/s320/th_gubhugreyot-Carmen.jpg" />
</a>
PERHATIKAN DARI KODE DI ATAS. KODE BORDER="0" TAK ADA LAGI (DIHILANGKAN).
Perubahan dilakukan dengan menambahkan kode yang berwarna hijauborder:6px blue ridge;border-radius:8px;;
- 6px=tebal border
- blue: warna=border, dan
- ridge=jenis border
- border radius untuk membuat lengkungan di 4 sisi image/border.
- 8px ukuran lengkung. Semakin besar semakin lebar.
- tebal border dimulai dari angka 0.
- warna boder bisa di ganti dengan : red, yellow dst, atau KODE warna berupa angka.
- jenis border : dashed, dotted, solid, double, groove, inset, outset, ridge, inherit, medium, thin, thick, hidden, none
PERUBAHAN KODE JUGA BISA DILAKUKAN DENGAN CARA :
KODE border:6px blue ridge; dapat diganti dengan dengan:border-color:blue;
border-style:ridge;
border-width:6px;
dimana sampeyan tinggal memilih warna (blue), jenis border (ridge) dan tebal bordernya (6px).
BENTUK KODE SECARA KESELURUHAN :
border-color:blue;border-style:ridge;border-width:6px;
Oke?! Mudheng, to, mbul ?! Klo belum jelas sana pergi ke pasar sambil bawa sapu. Bersih-bersih pasar biar keringatan n jadi lancar nyobanya. Lho..., kalau jalanya udah dibersihin khan klo jalan jadi lancar ! Iya, to?! he...he...!!! Ojo serikan, lho, mbul! Aku ki cen yok ngene iki!
0 komentar:
Posting Komentar