Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/80.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
我的html表单和纯css有什么问题吗?_Html_Css - Fatal编程技术网

我的html表单和纯css有什么问题吗?

我的html表单和纯css有什么问题吗?,html,css,Html,Css,我有以下html: <head> <link href="http://yui.yahooapis.com/pure/0.3.0/base-min.css" rel="stylesheet" type="text/css" /> </head> <body> <form action="/item" class="pure-form pure-form-stacked" method="POST"> <

我有以下html:

<head>
  <link href="http://yui.yahooapis.com/pure/0.3.0/base-min.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form action="/item" class="pure-form pure-form-stacked" method="POST">
        <fieldset>
            <label for="item">Name of item</label>
            <input id="item" name="item" type="text" />
            <label for="desc">Description</label>
            <input id="desc" name="desc" type="text" />
            <input type="submit" value="Add" />
        </fieldset>
    </form>
</body>

项目名称
描述

这并不像中的示例所示(堆叠形式),但更像是内联形式(在这方面不是很好)。我的html有什么问题吗

您没有包括纯表单css


到你的头


(我将按钮类添加到按钮,将图例节点添加到字段集)。

您没有包括纯表单css


到你的头


(我在按钮中添加了按钮类,在字段集中添加了图例节点)。

同意,您也可以在此添加
标记以帮助他更多。好的,添加了图例:),需要在字段集中添加。啊,谢谢!不确定这在纯文档中是否很清楚:)同意,您是否可以在此添加
标记以帮助他更多。好的,添加图例:),需要一个字段集。啊,谢谢!不确定这在纯文档中是否非常清楚:)
<link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.3.0/pure-min.css">