General XMetaL Discussion
XMetaL Community Forum › General XMetaL Discussion › html tables
-
Sebastian May 18, 2010 at 12:09 pm
html tables
May 18, 2010 at 12:09 pmParticipants 0Replies 1Last Activity 12 years, 10 months agoThere are two examples in your xmetall(author)/webmax folders, Jam1.xml and CamerasInFocus.xml, showing how to use html tables. Jam1.xml doesn't provide any functionality for changing the width of rows/columns of the contained table, but CameresInFocus provides it. Both of them are using the Journailst.dtd, but where is the difference?
We would like to have html tables with the provided functionality, what do we have to do??
Derek Read May 18, 2010 at 6:57 pm
Reply to: html tables
May 18, 2010 at 6:57 pmThe difference is that the DTD used by Jam1.xml in the Webmax demo does not include the width attribute for
and
elements.
If you use a DTD that specifies @width (like the HTML 4 table model documented at the W3C or the table.ent file referenced by the journalist.dtd that ships with XMetaL Author) then setting the width attribute value for a
or
element will alter the appearance of the table in the editor (both XMAX and Author share the exact same underlying code here).
-
AuthorPosts
- You must be logged in to reply to this topic.