前端 1.表单提交方法与格式 <form class="form-horizontal" action="/biz/patent/edit" method="post" enctype="multipart/form-data"> 2.input注意不要写value="" <input type=" ...
分类:
编程语言 时间:
2016-12-20 18:06:18
阅读次数:
200
需要生成如下图的表单样式,图一: 正确代码: <?php $form = ActiveForm::begin([ 'id' => 'login-form', 'options' => ['class' => 'form-horizontal'], 'fieldConfig' => [ 'templa ...
分类:
其他好文 时间:
2016-12-16 22:44:17
阅读次数:
2149
* 主要是dynamicreports 和 jfreechart结合的时候,进行的一些配置: 1,移除legend的黑色边框 2,图的方向调换, .setOrientation(Orientation.HORIZONTAL) 3,在dynamic-reports中客制化jfreechart 4,xy ...
分类:
其他好文 时间:
2016-12-13 19:01:08
阅读次数:
196
<?xmlversion="1.0"encoding="utf-8"?>
<LinearLayoutxmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:gravity="center"
>
&l..
分类:
移动开发 时间:
2016-12-13 16:38:52
阅读次数:
224
html代码: @using (Html.BeginForm("xx", "xx", FormMethod.Post, new { enctype = "multipart/form-data", id = "form1", @class = "form-horizontal", role = "f ...
分类:
Web程序 时间:
2016-12-01 17:13:32
阅读次数:
251
今天我们来说一下Android五大布局-LinearLayout布局(线性布局) 含义:线性布局,顾名思义,指的是整个Android布局中的控件摆放方式是以线性的方式摆放的, 主要作用:主要对整个界面进行基本设置使用 重要属性:android:orientation 值:horizontal 元素水 ...
分类:
移动开发 时间:
2016-11-27 23:09:30
阅读次数:
382
transform.Translate(Input.GetAxis("Horizontal")*Time.deltaTime,0,0); 移动 transform.Translate(0,Input.GetAxis("Vertical") * Time.deltaTime, 0); Instanti ...
分类:
编程语言 时间:
2016-11-27 18:57:07
阅读次数:
185
一. margin百分比 1. 普通元素的百分比margin都是相对于容器的宽度计算 2. 绝对定位元素的百分比margin是相对于第一个定位祖先元素(relative/absolute/fixed)的宽度计算 这是在默认的 writing-mode: horizontal-tb; 和 direct ...
分类:
其他好文 时间:
2016-11-20 19:31:58
阅读次数:
173
在安卓开发中我们常用的布局方式有这么几种: 1.LinearLayout ( 线性布局 ) :(里面只可以有一个控件,并且不能设计这个控件的位置,控件会放到左上角) 线性布局分为水平线性和垂直线性二者的属性分别为: android:orientation= " horizontal " androi ...
分类:
移动开发 时间:
2016-11-17 19:34:43
阅读次数:
170
activity_main.xml <RadioGroup android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="horizontal" android:layout ...
分类:
其他好文 时间:
2016-11-17 13:02:15
阅读次数:
205