W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2004

Styling embedding attributes

From: Jim Ley <jim.ley@gmail.com>
Date: Sat, 24 Jul 2004 09:40:56 +0100
Message-ID: <851c8d3104072401405c58c974@mail.gmail.com>
To: www-html-editor@w3.org

How does this work with styling?

Consider the example from the draft:

<table src="temperature-graph.png" type="image/png">
<caption>Average monthly temperature over the last 20 years</caption>
<tr><th>Jan</th><th>Feb</th><th>Mar</th><th>Apr</th><th>May</th><th>Jun</th>
    <th>Jul</th><th>Aug</th><th>Sep</th><th>Oct</th><th>Nov</th><th>Dec</th>
</tr>
<tr><td> 4</td><td> 2</td><td> 7</td><td> 9</td><td>13</td><td>16</td>
    <td>17</td><td>17</td><td>14</td><td>11</td><td> 7</td><td> 4</td>
</tr>
<!-- 19 more rows for the other 19 years>
</table>

This fallback table is likely to be a very different size, and the
author would want the page to belaid out differently than if the image
was embedded directly - this may be even more extreme with other
examples (perhaps a paragraph fallback within the same paragraph
blocks, whereas the image would want to float out.)

These examples aren't perhaps the clearest, but the general problem is
it's unlikely that the image and the fallback content will be the same
size or want to be styled identically.

Another example is images are generally raster and sized in pixels,
but pixel sizes do not work well for providing sizing of HTML content.

Jim.
Received on Saturday, 24 July 2004 04:40:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:52 UTC