Hello,
how would you add an attribute to the table? For instance something similar to this:
<TABLE width = "700">
Regards
Primoz Krzic
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
Hi,
Visual style isn't part of XHTML, you should use CSS styling if you want a table with a fixed width:
var t1 = new Table { new Style("width: 700px; border: 1px;"), new Tr { new Td { "wide table" } } };
Will be rendered as a style tag in <head>:
<head>
<style type="text/css"> .cls_01b43e31 { width: 700px; border: 1px; } </style>
And content in <body>:
<body>
<table class="cls_01b43e31"> <tr><td>wide table</td></tr> </table>
If you have more questions feel free to ask, especially if there's an attribute that can't be handled by CSS - which should be considered a bug.
Hello,
how would you add an attribute to the table?
For instance something similar to this:
Regards
Primoz Krzic
Last edit: Psion Ski 2014-02-23
Hi,
Visual style isn't part of XHTML, you should use CSS styling if you want a table with a fixed width:
Will be rendered as a style tag in
<head>
:And content in
<body>
:If you have more questions feel free to ask, especially if there's an attribute that can't be handled by CSS - which should be considered a bug.