上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 68 下一页
可能情况: 这种情况一般出现在 alert() 之后的某个代码需要页面元素进入一定的状态才能使用,加上 alert() 之后,相当于页面元素有足够的时间进入一定的状态了,如果确定你的代码没有问题,你可以把 alert() 之后的代码放到一个 setTimeout 的函数中,也就是停一会再运行下面的代码,应该就没问题了。window.setTimeout(btnAutoClick, 100);function btnAutoClick() { }转自: http://blog.csdn.net/lxqssx/article/details/3936043 Read More
posted @ 2013-06-07 09:34 tinyphp Views(314) Comments(0) Diggs(0)
有时候,我们需要做一个类似表格的布局,外边有框,每个元素右边和下边也有边框,一个200px的分成2个元素一行如果纯静态可以设个样式,让右边的元素无右边框,但是这样不够灵活,一般采取以下方式。一种布局方式:大层左边和上边加边框,内层元素为下边和右边加边框如:另一种布局方式:让内层有足够的空间,外层加隐藏overflow:hidden Read More
posted @ 2013-06-05 16:06 tinyphp Views(291) Comments(0) Diggs(0)
word-wrap是控制换行的。使用break-word时,是将强制换行。中文没有任何问题,英文语句也没问题。但是对于长串的英文,就不起作用。word-break是控制是否断词的。break-all,是断开单词。在单词到边界时,下个字母自动到下一行。主要解决了长串英文的问题。相关:word-break同word-wrap区别 Read More
posted @ 2013-06-05 10:26 tinyphp Views(5163) Comments(0) Diggs(1)
为了更加的规范和减少命名的时间,归纳一些常见的命名:icon 图标nav 导航item 一个东西如,一件商品层wrapper 包裹层logo logohead 头部footer 底部sele 选择缩写ctn 内容缩写info 内容text 文本pic图片btm尾部 Read More
posted @ 2013-06-04 16:13 tinyphp Views(275) Comments(0) Diggs(0)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf- Read More
posted @ 2013-06-04 15:52 tinyphp Views(221) Comments(0) Diggs(0)
在命令窗口使用复制粘贴方法:右击标题栏,选择“属性”,勾选"快捷编辑模式",按确定演示:选中文本复制,右键一下为复制,在后面再右键一下为粘贴其他命令:cls清空md创建目录dir列出目录中文件和文件夹rd 删除目录cd 进入目录cd\: 进入根目录notepad新建文本 Read More
posted @ 2013-05-14 11:01 tinyphp Views(243) Comments(0) Diggs(0)
创建源文件Test.java路径:D:\work\src\Test.javapublic class Test{ public static void main(String args[]){ System.out.println("Hello Java"); }}main方法是java ... Read More
posted @ 2013-05-11 16:59 tinyphp Views(301) Comments(0) Diggs(0)
预览效果:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset Read More
posted @ 2013-05-10 11:01 tinyphp Views(295) Comments(0) Diggs(0)
你可以在百度移动开放平台一键建立手机网站,只需要几秒,不过建立出来的网站就是去了样式,然后把代码转为xml格式而已,样子各方面都已经满足不了现在的智能手机了。谷歌转码之后: Read More
posted @ 2013-04-25 17:17 tinyphp Views(391) Comments(0) Diggs(0)
在样式文件中加入:html { filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);} 使用方法:这段代码可以变网页为黑白。建议全国站长动起来。为在雅安地震中遇难的同胞哀悼及捐款。公益捐赠地址:https://love.alipay.com/donate/itemDetail.htm Read More
posted @ 2013-04-22 11:14 tinyphp Views(292) Comments(0) Diggs(0)
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 68 下一页