Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Changing width of an image causing height to change in IE 11
XML
<td class="blocks insertImage" ><img width="102%" height="" class="bgimage" src="images/button_bg_opt.png">
                                           <div class="uic first">
                                             <a href="">Board of Immigration Appeals</a>
                                           </div>
                    </td>
Posted

1 solution

This is expected behavior as you have not got a height defined - if you want only the width to change and not height you must define a height

<img width="102%" height="100px" class="bgimage" src="images/button_bg_opt.png">
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900