* Wisnu-WR * Graham Jadi apa yang harus saya ubah ?
2014-07-30 13:29 · (0)
* Wisnu-WR * AH-SID Saya sudah mencoba dengan width="5px height="5px" ataupun style="width:5px;height:5px" , tetap tidak bekerja
2014-07-30 13:32 · (0)
* Graham * Wisnu-WR It depends on where you want the images to automatically resize if it is just in your menu table on the main page try changing it to
table img {
max-width:100%;
height: auto !important;
}

Copy code

My research says that is a better code for responsive image resizing anyway but stick to your version if you wish as both seem to work
I still need to see a proper test example page with a image you are trying to resize to be sure
2014-07-30 14:11 (edited 2014-07-30 14:15 by Graham ) · (0)
* Wisnu-WR * Graham oh okey, thank you
2014-07-30 15:21 · (0)
* AH-SID * Wisnu-WR Kalau masih ada sintaks css di atas tentu saja tag img tidak bekerja :D, saya 'kan cuma tanya mana dari kedua tag img itu yang benar? Hehe..

Kembali ke topik, yang saya pahami bahwa sintaks CSS:
body img {
width: auto !important;
height: auto !important;
}
digunakan untuk mengatur semua gambar. Semua gambar akan diatur width dan heightnya sesuai sintaks tersebut, kecuali ada penggunaan !important pada tag imgnya.

Seperti:
<img src="url" style="width:200px !important; height: 200px !important" />
Copy code

atau seperti yang disarankan mr. Graham
2014-07-30 15:34 · (0)
* Wisnu-WR Solved, thanks all :D
2014-08-04 07:00 · (0)

Online: Guests: 1