tailieunhanh - CSS Cookbook- P10

Tham khảo tài liệu 'css cookbook- p10', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Figure 8-17. The form laid out in two columns column as the wrapping of the form elements can be confusing to users. By setting the padding to accommodate the width of the left column designers create seamless-looking columns. See Also Chapter 10 for more techniques on laying out elements of a web page Integrating Form Feedback with a Form Problem You want to show users which parts of a form are required. Integrating Form Feedback with a Form 425 Please purchase PDF Split-Merge on to remove this watermark. Solution First place a text warning next to form labels of fields that are required as shown in the left of Figure 8-18. Figure 8-18. Required warning text on the left with styled form elements on the right Apply a class attribute with a value of required to label and form elements that are required to successfully process a form form id msgform name msgform method post action fieldset legend Contact Information legend label for fmtitle accesskey i T span class akey i span tle label select name fmtitle id fmtitle option value ms Ms. option option value mrs Mrs. option option value miss Miss option option value mr Mr. option select label for fmname accesskey n span class akey N span ame label input type text name fmname id fmname label for fmemail accesskey e class required span class akey E span mail img src Required label input type text name fmemail id fmemail class required fieldset fieldset 426 Chapter 8 Forms Please purchase PDF Split-Merge on to remove this watermark. legend Your Message legend label for fmstate accesskey y Subject label input type text name fmcountry id fmcountry label for fmmsg class required span class akey M span essage img src Required label textarea name fmmsg accesskey m id fmmsg rows 5 cols 14 class required textarea fieldset input type submit name submit value send class submit form Apply rules to change the text and border color of the forms as shown on the

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.