当我使用<;时,我的UI会受到干扰;?php echo表单_open()&燃气轮机;在编码器点火器中
在我写作之前,我的网页设计保持正常 一旦我使用了它,下面给出了web代码的内容部分当我使用<;时,我的UI会受到干扰;?php echo表单_open()&燃气轮机;在编码器点火器中,php,codeigniter,web,Php,Codeigniter,Web,在我写作之前,我的网页设计保持正常 一旦我使用了它,下面给出了web代码的内容部分 我想你错过了表单元素的课程 就这样用吧 echo form_open('your_url', array( 'class' => 'your classes', 'role' => 'role of form' )); form_close()missing?问题仍然是一样的,不幸的是,在结束标记后有一个尾随。删除尾随的div,然后就可以了。没有更改问题保持不变,此更改会干扰UI,
我想你错过了表单元素的课程 就这样用吧
echo form_open('your_url', array(
'class' => 'your classes',
'role' => 'role of form'
));
form_close()
missing?问题仍然是一样的,不幸的是,在结束标记后有一个尾随。删除尾随的div,然后就可以了。没有更改问题保持不变,此更改会干扰UI,甚至更严重。您是否使用w3c schools markup validator验证了整个HTML文件?它仍然保持不变,UI中没有更改
content div form div {
background: url(../images/bg-form.jpg) no-repeat;
float: left;
height: 396px;
margin: 0 0 0 24px;
padding: 0;
width: 463px;
}
#content div form div.first {
margin-left: 0;
}
#content div form div fieldset {
border: 0;
margin: 20px auto;
width: 386px;
}
#content div form div fieldset input.inputtext {
background: url(../images/sprites-inputs.gif) no-repeat 0 -42px;
border: 0;
height: 31px;
margin: 10px 0;
padding: 0 5px;
width: 376px;
}
#content div form div fieldset input#city {
background: url(../images/sprites-inputs.gif) no-repeat 0 0;
border: 0;
height: 32px;
margin: 10px 0;
padding: 0 5px;
width: 172px;
}
#content div form div fieldset label.zipcode {
margin-left: 168px;
}
#content div form div fieldset input#zipcode {
background: url(../images/sprites-inputs.gif) no-repeat 0 0;
border: 0;
height: 32px;
margin: 0 0 0 15px;
padding: 0 5px;
width: 172px;
}
#content div form div div {
background: none;
float: none;
height: auto;
margin-left: 0;
margin-top: 33px;
width: auto;
}
echo form_open('your_url', array(
'class' => 'your classes',
'role' => 'role of form'
));