Visa ett inlägg
Oläst 2011-04-13, 16:51 #18
Mr.Notepad Mr.Notepad är inte uppkopplad
Nykomling
 
Reg.datum: Aug 2010
Inlägg: 37
Mr.Notepad Mr.Notepad är inte uppkopplad
Nykomling
 
Reg.datum: Aug 2010
Inlägg: 37
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
Detta måste testas mer, men just nu ser det riktigt ljust ut!
Tack Jim!!

Senast redigerad av Mr.Notepad den 2011-04-13 klockan 17:12
Mr.Notepad är inte uppkopplad   Svara med citatSvara med citat