Đang chuẩn bị liên kết để tải về tài liệu:
The CSS Anthology: 101 Essential Tips, Tricks & Hacks- P12
Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
The CSS Anthology: 101 Essential Tips, Tricks & Hacks- P12:Apart from writing books like this one, I write code. I make my living by building web sites and applications as, I’m sure, many readers of this book do. I use CSS to complete jobs every day, and I know what it’s like to struggle to make CSS work when the project needs to be finished the next morning. | Forms and User Interfaces 197 chapter06 fieldset.html excerpt form method post action fieldset.html fieldset legend Personal Information legend div label for fullname Name label input type text name fullname id fullname class txt div div label for email Email Address label input type text name email id email class txt div div label for password1 Password label input type password name password1 id password1 class txt div div label for password2 Confirm Password label input type password name password2 id password2 class txt div fieldset fieldset legend Address Details legend div label for address1 Address line one label input type text name address1 id address1 class txt div div label for address2 Address line two label input type text name address2 id address2 class txt div div label for city Town City label input type text name city id city class txt div div label for zip Zip Post code label input type text name zip id zip class txt Download at WoweBook.Com 198 The CSS Anthology div fieldset div input type submit name btnSubmit id btnSubmit value Sign Up class btn div form chapter06 fieldset.css hl font 1.2em Arial Helvetica sans-serif input.txt color 00008B background-color E3F2F7 border 1px inset 00008B width 200px input.btn color 00008B background-color ADD8E6 border 1px outset 00008B form div clear left margin 0 padding 0 padding-top 5px form div label float left width 40 font bold 0.9em Arial Helvetica sans-serif fieldset border 1px dotted 61B5CF margin-top 1.4em padding 0.6em legend font bold 0.8em Arial Helvetica sans-serif Download at WoweBook.Com Forms and User Interfaces 199 color 00008B background-color FFFFFF Figure 6.10 shows how the groupings are displayed by the browser. User Registration Form Personal Information Name Email Address Password Confirm Password Address Details Address line one Address line two Town City Zip I Post code Sign Up Figure 6.10. Creating two sections in a form using the fieldset tag Discussion The fieldset and legend tags .