CSS 允许应用U色作ؓ背景Q也允许使用背景囑փ创徏相当复杂的效果。CSS 在这斚w的能力远q在 HTML 之上
可以使用background-color 属性ؓ元素讄背景Ԍq个属性接受Q何合法的颜色倹{?/p>
q条规则把元素的背景设ؓ灰色Q?span style="color: red; ">p{background-color :gray;}
如果你希望背景色从元素中的文本向外至有延Q只需增加一些内ҎQ?span style="font-family: 'Courier New', monospace; line-height: normal; white-space: pre; ">p {background-color: gray; padding: 20px;}background-image 属性的默认值是 noneQ表C景上没有攄M囑փ?/span>
要把囑փ攑օ背景Q需要?nbsp; background-image 属?/a>?/span>
date_trunc
The function date_trunc
is conceptually similar to the trunc
function for numbers.
date_trunc('field', source)
source is a value expression of type timestamp or interval. (Values of type date and time are cast automatically, to timestamp or interval respectively.) field selects to which precision to truncate the input value. The return value is of type timestamp or interval with all fields that are less significant than the selected one set to zero (or one, for day and month).
Valid values for field are:
microseconds |
milliseconds |
second |
minute |
hour |
day |
week |
month |
quarter |
year |
decade |
century |
millennium |
Examples:
SELECT date_trunc('hour', TIMESTAMP '2001-02-16 20:38:40'); Result: 2001-02-16 20:00:00 SELECT date_trunc('year', TIMESTAMP '2001-02-16 20:38:40'); Result: 2001-01-01 00:00:00
(1)修改http讉K端口(默认?080端口)
minProcessors="5"maxProcessors="75"
enableLookups="true"redirectPort="8443"
acceptCount="100"debug="0"connectionTimeout="20000"
useURIValidationHack="false"disableUploadTimeout="true"/>
(大概?6行左??080修改为第一个tomcat不在使用的端口号。此处所讄端口号即是以后访问Web时所用的端口受?
(2)修改Shutdown端口(默认?005端口)
(大概?3行左??005修改为没有在使用的端口号Q例?095
(3)修改8009端口
<ConnectorclassName="org.apache.coyote.tomcat4.CoyoteConnector"port="8009"minProcessors="5"maxProcessors="75"enableLookups="true"redirectPort="8443"acceptCount="10"debug="0"connectionTimeout="20000"useURIValidationHack="false"protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/> http://www.mscto.com
(大概?07行左??009修改为没有在使用的端口号Q例?099
q样没问题了?/p>