Home > Web Front-end > HTML Tutorial > htm中如何让表格相对上级表格的单元格上对齐_html/css_WEB-ITnose

htm中如何让表格相对上级表格的单元格上对齐_html/css_WEB-ITnose

WBOY
Release: 2016-06-21 09:43:11
Original
1654 people have browsed it

CSS

小妹对于css属于菜鸟一个 

现在有这样一个问题 我有如下代码:




 
    
    
    



我如何用CSS控制id=“tab”的这个table能够在 id="td" 的这个单元格里面左上对齐开始编辑? 

回复讨论(解决方案)

align="left"

也可以 

text-align:left
Copy after login

align="left"//直接写在td上的属性//下面是CSS控制vertical-align:top;text-align:left;
Copy after login

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template