| FAQ |
| Kalender |
|
|
#18 | ||
|
|||
|
Nykomling
|
Vänta lite...
Jag tror att jag hittade nåt bland de hundratals kommentarerna i länken... Efter en del modifiering så verkar det som om det fungerar! ![]() Kod:
<style type="text/css">
.my_img_96 {
max-width: 96px;
max-height: 96px;
/* Resize the image for IE */
height:expression(this.height>=this.width && this.height>95?96:true);
width:expression(this.width>=this.height && this.width>95?96:true);
}
</style>
<img class="my_img_96" src="bild1.jpg">
<img class="my_img_200" src="bild2.jpg">
...osv
Tack Jim!! Senast redigerad av Mr.Notepad den 2011-04-13 klockan 18:12 |
||
|
|
Svara med citat
|
|
|