- From: ASHLEY BREWIN <apbrewin@haeco.com>
- Date: Fri, 5 Mar 2010 09:56:17 +0800
- To: "Alma Hunt" <ayesha.nk@gmail.com>, <www-amaya@w3.org>
- Message-ID: <8F8EB048A08FEF41AB058C21B4B5DE0206E334DD@mail01.haeco.com>
Alma, I've been having fun with borders and captions since seeing your post. I'm not very experienced with Amaya, so it has been a learning experience for me too. I've attached a screen shot of Amaya, Firefox and IE7 all showing the same picture - it's interesting to see the differences. Below is the script I used. It seems that it is necessary to have 'border-width' in the CCS text, with the value in pixels, hence in my script: border-width="10px", AND YOU NEED border="1" in the body text, hence: <table border="1" cellspacing="5" cellpadding="5"> If one or more of the more experienced members of this group can tell me why it's necessary to have entries in both the CCS and the body, then I'd appreciate their feedback. Regards, Ashley <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" /> <title>border_fun</title> <meta name="generator" content="Amaya, see http://www.w3.org/Amaya/" /> <style type="text/css"> body { background-color : #000000; } table { background-color : #000070; text-align : center; color : #FF0000; font-family : Arial; border-width : 10px; border-color : #FFFF00; } </style> </head> <body> <table border="1" cellspacing="5" cellpadding="5"> <caption>Plane Parts</caption> <col /> <tbody> <tr> <td><img alt="plane parts" title="plane parts" src="Planeparts.jpg" width="370" height="170" /></td> </tr> </tbody> </table> </body> </html> DISCLAIMER: This e-mail and any attachments are confidential and may be privileged. If you are not the intended recipient, you must not further distribute this message, disclose its contents to any one, use it for any purpose, store, copy, or reproduce in whole or in part in any form, or take any action based on the contents hereof. You should inform the sender by return e-mail and delete this message immediately.
Attachments
- image/png attachment: screen_shot_Amaya_borders.png
Received on Friday, 5 March 2010 09:12:35 UTC