--> *Yes*, when the table element is rendered using "dislay: table;".
This is the case of XHTML:
---
table {
display: table;
caption-side: bottom;
border-style: solid;
border-width: 1;
margin-top: 1.33ex;
margin-bottom: 1.33ex;
}
caption {
display: table-caption;
font-style: italic;
color: #804040;
text-align: center;
margin-left: 2ex;
margin-right: 2ex;
margin-top: 1.33ex;
margin-bottom: 1.33ex;
}
When I use it, is it still possible to make a list of tables at the end of
document, the same as it is with tables and titels?
Hussein Shafie
<hussein at xmlmind.
com> To
Jacek.Lewandowski at ifb-group.com
15.10.2008 13:02 cc
"xmleditor-support at xmlmind.com"
<xmleditor-support at xmlmind.com>
Please respond to Subject
"xmleditor-suppor Re: [XXE] Removing Key bindings!?
t at xmlmind.com" CSS changes
<xmleditor-suppor
t at xmlmind.com>
Jacek.Lewandowski at ifb-group.com wrote:
>
> is it possible to place(specify in CSS) titel of tables after(under) the
> table not befor. I mean with markup <table>.
Yes and no. It depends.
--> No, when the table element is rendered using "dislay: block;". This
is the case of DocBook:
---
table,
informaltable {
display: block;
margin: 1.33ex 0;
}
table > title {
display: block;
font-style: italic;
font-weight: normal;
text-align: center;
/* keep margin because tgroup has no margin */
}
---
--> *Yes*, when the table element is rendered using "dislay: table;".
This is the case of XHTML:
---
table {
display: table;
caption-side: bottom;
border-style: solid;
border-width: 1;
margin-top: 1.33ex;
margin-bottom: 1.33ex;
}
caption {
display: table-caption;
font-style: italic;
color: #804040;
text-align: center;
margin-left: 2ex;
margin-right: 2ex;
margin-top: 1.33ex;
margin-bottom: 1.33ex;
}
---
In such case, simply use standard CSS property "caption-side: bottom;".
See http://www.w3.org/TR/REC-CSS2