How to use css caption-side attribute

silencement
Release: 2019-05-28 13:39:55
Original
3604 people have browsed it

How to use css caption-side attribute

css caption-side attribute definition and usage

1. In css, the caption-side attribute is used to specify the position of the table title. , the table title can be set above the table (default) or below the table

2. Currently, all mainstream browsers support the caption-side attribute, but IE8 must specify !DOCTYPE to support it

css caption-side attribute value

top: The table title is above the table (default)

bottom: The table title is below the table

inherit: inherit the attribute value of the caption-side attribute from the parent element

Syntax format

caption-side:top / bottom / inherit;
Copy after login

Example

    css caption-side表格标题属性笔记    
学生成绩表
学号姓名性别成绩
1张三60
2李四80
Copy after login

operation result

How to use css caption-side attribute

The above is the detailed content of How to use css caption-side attribute. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!