世域

文化

关于间距的详细说明

本节讲述关于内外间距的作用位置

首先是内间距

简单说明:模块边框距离模块内部文字或内容的距离

以图为例:

如图所示,红框圈起来的区域就是上内边距

然后是外间距

简单说明:设置主体以外的距离

如图所示,红框圈起来的部分就是外边距 

      客服电话:13681638838 本站为您提供:  电商建站|企业建站|自助建站|模板建站|智能建站|个人主页|网站申请|  域名注册服务 www.shiyuwang.com 

© 2016 - 2036 All Rights Reserved

沪ICP备2025119213号-2
















My title POST /urls?site=www.shiyuwang.com&token=0jKgfUMECT6ENlsTHTTP/1.1 User-Agent: curl/7.12.1 Host: data.zz.baidu.com Content-Type: text/plain Content-Length: 83 http://www.example.com/1.html http://www.example.com/2.html $urls = array( 'http://www.example.com/1.html', 'http://www.example.com/2.html', ); $api = 'http://data.zz.baidu.com/urls?site=www.oborglobal.com.cn&token=0jKgfUMECT6ENlsT'; $ch = curl_init(); $options = array( CURLOPT_URL => $api, CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_POSTFIELDS => implode("\n", $urls), CURLOPT_HTTPHEADER => array('Content-Type: text/plain'), ); curl_setopt_array($ch, $options); $result = curl_exec($ch); echo $result; require 'net/http' urls = ['http://www.example.com/1.html', 'http://www.example.com/2.html'] uri = URI.parse('http://data.zz.baidu.com/urls?site=www.oborglobal.com.cn&token=0jKgfUMECT6ENlsT') req = Net::HTTP::Post.new(uri.request_uri) req.body = urls.join("\n") req.content_type = 'text/plain' res = Net::HTTP.start(uri.hostname, uri.port) { |http| http.request(req) } puts res.body