HTML fieldset legend
来源:互联网 发布:古琴网络教学 编辑:程序博客网 时间:2024/05/27 00:43
- .depot-form fieldset {
- background: #efe;
- }
- .depot-form legend {
- color: #dfd;
- background: #141;
- font-family: sans-serif;
- padding: 0.2em 1em;
- }
- .depot-form label {
- width: 5em;
- float: left;
- text-align: right;
- margin-right: 0.5em;
- display: block;
- }
- .depot-form .submit {
- margin-left: 5.5em;
- }
- <!--
- ! Excerpted from "Agile Web Development with Rails, 2nd Ed.",
- ! published by The Pragmatic Bookshelf.
- ! Copyrights apply to this code. It may not be used to create training material,
- ! courses, books, articles, and the like. Contact us if you are in doubt.
- ! We make no guarantees that this code is fit for any purpose.
- ! Visit http://www.pragmaticprogrammer.com/titles/rails2 for more book information.
- -->
- <div class="depot-form">
- <%= error_messages_for 'user' %>
- <fieldset>
- <legend>Enter User Details</legend>
- <% form_for :user do |form| %>
- <p>
- <label for="user_name">Name:</label>
- <%= form.text_field :name, :size => 40 %>
- </p>
- <p>
- <label for="user_password">Password:</label>
- <%= form.password_field :password, :size => 40 %>
- </p>
- <p>
- <label for="user_password_confirmation">Confirm:</label>
- <%= form.password_field :password_confirmation, :size => 40 %>
- </p>
- <%= submit_tag "Add User", :class => "submit" %>
- <% end %>
- </fieldset>
- </div>
- HTML fieldset legend
- html 的fieldset and legend
- html fieldset 和 legend 标签
- HTML全面深入学习-fieldset和legend
- HTML中 的fieldset标签、legend标签
- html元素fieldset和legend的用法
- (25)HTML标签详解之<form><input><label><fieldset><legend>
- Fieldset 与 Legend
- fieldset和legend
- fieldset和legend制作边框
- HTMLl标签fieldset/legend元素
- (HTML控件篇)fieldset和legend标签的属性和使用方法
- HTML~fieldset
- 网页中group效果-fieldSet+legend
- 网页中group效果-fieldSet+legend
- fieldset、legend标签的使用及说明
- HTML5<fieldset>标签与<legend>标签
- (13)html表单<form>之二使用〈fieldset〉和〈legend〉结构化表单
- OSCache使用指南
- oscache用途
- 一些有用的网站网址集合
- spring+AOP+osCache
- 应用OSCache提升J2EE系统运行性能
- HTML fieldset legend
- 读书笔记-The Java Programming language(0)
- MIS和ERP的区别是什么?
- 今天在CSDN正式开博
- 爱因斯坦的《我的世界观》
- 微软20号开始打击盗版了?真可气
- 【风】的ACE笔记(1)-日志消息管理
- 使用case要注意的地方
- 易混淆单词