Home > Web Front-end > HTML Tutorial > Use tables to adjust the format of form controls to make them look better_HTML/Xhtml_Web page production

Use tables to adjust the format of form controls to make them look better_HTML/Xhtml_Web page production

WBOY
Release: 2016-05-16 16:37:07
Original
1622 people have browsed it

Because I want to write a web by myself, I am also learning some things about the HTML language. It reminds me that I was interested in web design when I was in college. Unfortunately, I didn’t have my own computer at that time, so I often went to Internet cafes to buy floppy disks and download some. pictures, and then used fontpage to make some web pages. Later I bought a computer and was fascinated by "Legend" all the time. I also forgot about web design....

Because I work under Ubuntu , and there are really few WYSIWYG web designs under Linux. In the end, I chose bluefish.

I wanted to make a form for adding devices, but the result was ugly because the prefix sizes were different. As shown in the figure:

Copy code
The code is as follows:





Username:< input type="text" name="username">

Password:





This input box is not aligned. I feel sad. At this time, my colleague said that I can use a table to format it. , the code after consultation is as follows:

Copy the code
The code is as follows:














Username: < ;br/>
Password:






Aha, new skill got, thank you classmate Tong Jun for your strong support~~

He also taught me how to use css to control the format of the table

Copy code
The code is as follows:


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