CSS CAPTION-SIDE
This property specifies the position of elements with an intrinsic (HTML CAPTION elements) or assigned ‘display’ property value of “table-caption” in relation to the table rendering box they are assigned to. Alignment within the table caption is accomplished using the ‘text-align’ and ‘vertical-align’ properties.
Example
caption {
caption-side: right
}
Possible Values
inherit: Explicitly sets the value of this property to that of the parent.
top: The caption is positioned above the rendered table box.
bottom: The caption is positioned below the rendered table box.
left: The caption is positioned to the left of the rendered table box.
right: The caption is positioned to the right of the rendered table box.
6 Responses
Dear sir/madam,
It would be great if you could put here that which tags will run in which browser. When I was checking in multiple browser I found that in most of the browsers the tags are found ineffective.
So please have a part in this page to display the requested part.
Thanks
Dipak
I’ve been learning a little about CSS3, and it seems that most browsers need to have the (is it called) pseudo prefix (?) before the newer rules: -moz-, -webkit-, -ms-, -o-, -chrome-, etc. Try those as prefixes to the rules.
What behavior is specified if the caption is wider than the element? For example, with a small table that holds only an an image and a credit line, the line might easily be wider than the image.
Its great to read such kind of rear tutorial about css and advanced css.I already know css3 but when i read this article i understand that it is more wider than i thought about css
I everyday a tutorial about css. Its a good tutorial,i get to solve my problem
how its work ? can u pls show the demo. ?
thanks