PHP中css背景图片设置
/* begin overall style */
body
{
margin: 0;
padding: 0;
background: purple;
color: #6666ff;
font: normal 10pt Arial,Helvetica,sans-serif;
background:white url(bg.gif) repeat-x left top;
}
#header
{
margin: 0;
padding: 0;
height: 100px;
}
#logo
{
padding: 5px 0 5px 10px;
font-size: 200%;
}
#mainmenu
{
position: absolute;
top: 59px;
}
#mainmenu ul
{
padding: 0;
margin: 0;
padding: 0.4em 0 0.3em 0;
}
#mainmenu ul li
{
display: inline;
}
#mainmenu ul li a
{
padding: 0.4em 0.4em;
color: white;
text-decoration: none;
font-weight: bold;
}
#mainmenu ul li a:hover, #mainmenu ul li a.active
{
background: #E6F2FF;
color: #6399cd;
}
#content
{
position: relative;
width: 95%;
margin: 0 auto;
padding: 0px;
}
#footer
{
padding: 15px;
margin: 20px 0 0 0;
font-size: 0.8em;
text-align: center;
border-top: 1px solid #EEE;
}
/* end of overall style */
/* begin data grid style */
table.dat
相关问答:
对php不是很了解 写了个简单的例子
现用c#调用php写的 webservice(soap WSDL)iis6.0+php5.2.8
webservice如下
<?php
class WebService
{
public function Logout()
{
//header('Co ......
各位大侠
求一段php代码
可以实现以下功能
针对不同的浏览器显示不同的图片
就是有一张图片,只想给ie6用户看到
如果ie7、chrome、firefox用户浏览则显示另外一张图片  ......
PHP code:
$date = '2009-12-25';
$ptn = '/([\d]{4})[- \/](0?[\d]|1[0-2])[-\/ ](0?[\d]|[1-2][\d]|3[0-1])/';
if (preg_match($ptn,$date,$out))
{
print_r($out);exit();
}
结果为:
PHP code:
......
form表单下拉框的蓝色怎么去掉呢,我想把下拉框的颜色设为透明的
may be no way.
像QQ空间里的那些透明的下拉框是怎么弄得呢?
引用
像QQ空间里的那些透明的下拉框是怎么弄得呢?
用层模拟的吧
基本都 ......
过完年要去武汉了,想了解一下PHP培训比较正规?
哦 对了,还有!PHP手册必须得弄一个
嗯 天天在看圣经(一天也就只能看个二十页),PHP100视频教程看了33讲了(一天也只看一讲)
我会坚持把这本书和视频搞定 ......