Table Attributs I Html Object
Autor: Steen P.
Visited 998,
Followers 1,
Udostępniony 41
If I put a table in the html-object, attributs like 'align', cellpadding' and 'cellspacing' dosn't work at all.
I can't use the special danish letters too in the table (i html object). V8 had not those problems.
I would like to set text in a cell horizontal aligned in the center of the cell.
Any idea?
Posted on the
Hi Steen,
Please note that v9 uses HTML5 so some tags are not supported (ie: FONT FACE, ALIGN, ...). Let me know if it solves
Autor
Hi Steve
Thanks for your answer. It tells me what the problem is. But then I have to write some css. But must I put it in the html-objects: expert/css code or make a css-file and link to that file in the objects: expert/Files linked to html code?
If I must use the last option I must of course make the css-file. But how much must I write in the expert/css code? Can I use only:
text-align : center;
or is all the css-code: 'Style Type . . . . . . ' etc. necessary?
You can create a CSS file to link or you can add the CSS code directly into the HTML Code Object. You can choose what you prefer. It is the same you did in version 8. The only difference is that now it is HTML5 and not XHTML 1.0.
So, instead of using ALIGN tag, you need to add a CSS code text-align: left defining the ID. Here are some examples:
body {text-align: left}
.myClass {text-align: left}