Use a table to adjust the control format.
I want to write a web by myself, so I am also learning some things about the html language. This reminds me that I was interested in web design in the university era, but I still don't have my own computer at that time, I often go to the Internet cafe to buy a floppy disk to download some images and then use fontpage for some web pages. after buying a computer, I was confused by the legend, and I forgot my webpage design ....
Because I work under ubuntu, what I see under linux is that the webpage design is really rare. I finally chose bluefish.
I want to create a form for adding a device. The result is ugly because the prefix size is different .:
<! DOCTYPE html> <meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8"/>
This input box is not aligned. I am so sad. At this time, my colleagues on the edge said that they can format the table. The code after asking is as follows:
<! DOCTYPE html> <meta http-equiv = "Content-Type" content = "text/html; charset = UTF-8 "/>
Aha, New Skill get, thanks to Tong Yu for your support ~~
I also learned how to use css to control the table format.
<style type="text/css">table{border-top:#000 solid 1px; border-left:#000 solid 1px;}td{ border-bottom:#000 solid 1px; border-right:#000 solid 1px;}</style>
How to adjust the size of the html table control in aspnet
<Table style = "width: 100px; height: 200px;>
Or
<Style>
. Tb {width: 100px; height: 200px ;}
</Style>
<Table class = "tb">
To dynamically adjust the size, write JS:
<Table id = "tb">
<Script>
Function test (){
Document. getElementById ("tb"). style. width = "100px ";
Document. getElementById ("tb"). style. height = "200px ";
}
</Script>
Why do I show only tables after I drag the table control? ### extra points are solved.
This is the default content that requires adding rows or editing Chinese Characters
<Asp: Table ID = "Table1" runat = "server">
<Asp: TableFooterRow> <asp: tablecells> 1111111111111 </asp: TableCell> </asp: TableFooterRow>
</Asp: Table>