Quote:
Originally Posted by RbnJrg
Set the "width" of your images in "%" (of the screen) in your .css stylesheet and set the height to "auto".
|
Note in the code below that img-0004.png is used twice. Once inside the table cell, then inline after the table. Percentage % works inline but not inside the table cell. Why? How can I fix it?
Code:
<tr id="a0000000013">
<td style="width:40%"> </td>
<td style="vertical-align:middle; text-align:right">
<img src="images/img-0004.png" alt="$\displaystyle \delta $" style="vertical-align:0px; width:10px; height:" class="math gen" /></td>
<td style="vertical-align:middle; text-align:left">
<img src="images/img-0005.png" alt="$\displaystyle = a + x_{x_ y} + a + x_{x_ y} + a + x_{x_ y} + a + x_{x_ y} $" style="vertical-align:-10px; width:411px; height:" class="math gen" /></td>
<td style="width:40%"> </td>
<td style="width:20%" class="eqnnum"><span>(<span>1.1</span>)</span></td>
</tr>
</table>
<p> where <img src="images/img-0004.png" alt="$\delta $" style="vertical-align:0px; width:0.52%; height:" class="math gen" /> is the ineffective length.
img-0004.png
http://barbero.cadec-online.com/pape...e/img-0004.png

is 10px wide, 18px tall. I calculated the % as %=100*px/WR, where WR is the device resolution along the with. I try this in my 1920x1080 monitor (landscape) and a fire HD (800 px.) It works when I put the % value inline, but it does not work at all when I put the same value (0.52%) in place of the 10px for the same figure inside the table cell. ???
img-0004.png
http://barbero.cadec-online.com/pape...e/img-0005.png
Thanks!