tailieunhanh - The CSS Anthology: 101 Essential Tips, Tricks & Hacks- P12
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 excerpt form method post action 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 198 The CSS Anthology div fieldset div input type submit name btnSubmit id btnSubmit value Sign Up class btn div form chapter06 hl font Arial Helvetica sans-serif color 00008B background-color E3F2F7 border 1px inset 00008B width 200px 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 Arial Helvetica sans-serif fieldset border 1px dotted 61B5CF margin-top padding legend font bold Arial Helvetica sans-serif Download at Forms and User Interfaces 199 color 00008B background-color FFFFFF Figure 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 . Creating two sections in a form using the fieldset tag Discussion The fieldset and legend tags .
đang nạp các trang xem trước