MyBB Community Forums

Full Version: Image Scaling in Firefox doesn't work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have a problem with the sideboxes in my theme. In chrome they show correct, but in other browsers the code dosnt seem to work.


Here is a screenshot:
http://i.imgur.com/GtNqm4I.png

In chrome it works in every resolution how it has to but other browsers like firefox have trouble with other resolutions
than 1920 x 1080.

and here is the sideboxe's code from the index template:


<div class="forumhead">
  <thead>
<tr>

<div style="margin-top: 5px;"><strong>Mihawk Event</strong></div>
</td>
</tr>
</thead>
</div>
<td class="thead{$expthead}" colspan="5">
<table border="0" style="margin-top: 5px; height:auto; width:auto;max-width:100%; max-height:280px;"cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<td class="trow1"><div id="scaleimage">
 <a href="link">
<img style="height:auto; width:auto;max-width:100%; max-height:280px;" src="image"></a>
</td>
</table>


Any suggestions? 

Nvm, worked like this: <img style="height:auto; width:100%; max-width:auto; max-height:280px;" src="http://i.imgur.com/HaNrjuG.jpg">