CSS – DIV居中
加上这个东西:
1 2 3 |
text-align:center; margin-left:auto; margin-right:auto; |
或:
1 2 |
text-align:center; margin:0 auto; |
这两个在Chrome、FireFox、IE7、8、9下都测试通过,注意,IE下的文档格式不能为“Quirks”。
事后拂衣去,深藏功与名。
加上这个东西:
1 2 3 |
text-align:center; margin-left:auto; margin-right:auto; |
或:
1 2 |
text-align:center; margin:0 auto; |
这两个在Chrome、FireFox、IE7、8、9下都测试通过,注意,IE下的文档格式不能为“Quirks”。
记录。
1 2 3 4 5 6 7 8 9 10 11 12 |
use LWP::UserAgent; my $UA = LWP::UserAgent->new; my $URL = "http://www.abc.com/test.php"; my $response = $UA->post( $URL, [ 'id' => '12','type' => 'abc'] ); if ( $response->is_success ) { print $response->content; } else { print "ERROR\n"; } |
几种方法,记录一下。
1、查找表中多余的重复记录,重复记录是根据单个字段(mail_id)来判断
1 |
SELECT * FROM table WHERE mail_id IN (SELECT mail_id FROM table GROUP BY mail_id HAVING COUNT(mail_id) > 1); |
2、删除表中多余的重复记录,重复记录是根据单个字段(mail_id)来判断,只留有rowid最小的记录
[crayon-628a[……]