W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2010

RE: How do I give figure captions in Amaya?

From: ASHLEY BREWIN <apbrewin@haeco.com>
Date: Fri, 5 Mar 2010 09:56:17 +0800
Message-ID: <8F8EB048A08FEF41AB058C21B4B5DE0206E334DD@mail01.haeco.com>
To: "Alma Hunt" <ayesha.nk@gmail.com>, <www-amaya@w3.org>
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
border="1" in the body text, hence: <table border="1" cellspacing="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. 


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="content-type"
content="application/xhtml+xml; charset=UTF-8" />
<meta name="generator" content="Amaya, see http://www.w3.org/Amaya/" />

<style type="text/css">
   background-color : #000000;
     background-color : #000070;
     text-align : center;
     color : #FF0000;
     font-family : Arial;
     border-width : 10px;
     border-color : #FFFF00;


<table border="1" cellspacing="5" cellpadding="5">
  <caption>Plane Parts</caption>
  <col />
      <td><img alt="plane parts" title="plane parts"
src="Planeparts.jpg" width="370" height="170" /></td>

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.

(image/png attachment: screen_shot_Amaya_borders.png)

Received on Friday, 5 March 2010 09:12:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:53:42 UTC