- From: Nigel Peck <Nigel.Peck@itm-solutions.co.uk>
- Date: Fri, 19 Apr 2002 11:06:15 +0100
- To: <www-html@w3.org>
Hi all, The code below when viewed in NS 6.2.2 does not display as intened. The problem is that the image with width="100%" stretches out no problem, but the image with height="100%" doesn't stretch. It only seems to happen when the image is in a table cell, <img width="4" height="100%".... works fine. I have got it to work by setting the image (a single blue pixel) as the background to the cells rather than an image within them. Am I right in thinking that it should work as I originally intened (it does in IE) or have I missed something? <table> <tr> <td width="100%" height="4" colspan="2"><img src="color.gif" width="100%" height="4"></td> </tr> <tr> <td height="100%" width="4"><img src="color.gif" width="4" height="100%"></td> <td>there should be a line the width of this text above<br />and a line the height of this text to the left</td> </tr> </table> Thanks Nigel nigel.peck@itm-solutions.co.uk ITM Business Solutions Unit 4 Nine Trees Trading Estate Morthen Road Rotherham S66 9JG Reception Tel: 01709 703288 Fax: 01709 701549 Help Desk Tel:01709 530424 Fax: 01709 702159 CONFIDENTIALITY NOTICE: This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law.
Received on Friday, 19 April 2002 06:06:39 UTC