前端开发2025年08月25日
</pre><pre name="code" class="html"><!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> </head> &l...
前端开发2025年08月21日
cursor: not-allowed; 会是一个禁止的形状 ...
服务器2025年08月21日
在做HA的时候需要为服务器设计虚拟IP,也就是一个主机对应多个IP地址?刚听起来好神奇,原来这样也是可能的看了下面的这个链接 自己配了一下http://hi.baidu.com/pbottle/item/7175d29702a0a0bd83d29533在eth0处引用别名,设置完子网掩码即可ifconfig eth0:0 166.111.69.100 ne...
前端开发2025年08月20日
css代码: .img-box { padding-bottom: 100%; } .img-box img { position: absolute; top:; bottom:; left:; right:; width: 100%; /* margin:auto; */ } html标签: &lt;div class="img-bo...
服务器2025年08月20日
启动mysql后,以root登录mysql root@Eadgar-virtual-machine:~# mysql -uroot -proot mysql&gt; show variables like 'character%'; #执行编码显示 +--------------------------+----------------------...
前端开发2025年08月20日
显示与隐藏 <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>显示与隐藏</title> <style> body { margin: 0; } div { width: 200px; height: 2...
服务器2025年08月19日
先新建目录 该路径:/home/oracle/backup该名称:DATA_PATH shell脚本 export ORACLE_BASE=/home/oracle/app export ORACLE_HOME=$ORACLE_BASE/oracle/product/11.2.0/dbhome_1 export ORACLE_SID=orcl export...
服务器2025年08月17日
Centos下 yum -y install OpenIPMI OpenIPMI-tools chkconfig ipmi on service ipmi start ipmitool lan set 1 ipsrc static 改为静态IP ipmitool -I open lan set 1 ipaddr 192.168.1.100 ipmitool...
前端开发2025年08月15日
全局CSS设置 1、清除所有的标记的内外边距 body,ul,li,a,img,p,input{ margin:0; padding:0; } 2、去除项目符号或编号前面的符号 ul,ol,li{ list-style:none; } 3、全局链接效果 a:link , a:visited{color:#444;text-decoration:none;}...
前端开发2025年08月14日
.list ul li:nth-child(even){ ...} //li的偶数行样式 .list ul li:nth-child(odd){ ...} //li的奇数行样式 .list ul li:nth-child(1){ top:0;} //第一个li.list ul li:nth-child(2){ top:30px;} //第二个li 部分情况...