2015.7.6 第一课 课程重点(html、列表、表格、相对路径、超链接)1、html(超文本标记语言)结构: 标题 主体 2、版面控制标记: 换行: 段落: 水平线: ( 粗细:size;宽度:width;水平位置:align;颜色:color ) 空格: ...
分类:
Web程序 时间:
2015-07-12 01:45:24
阅读次数:
192
【课前提问及答案】1、table有哪些属性:width、height、border、cellspacing、cellpadding、bordercolor、bgcolor、align 宽 高 边框 内框宽度 文字到边框距离 边框颜色 背景色 水平位置2、body有哪些...
分类:
Web程序 时间:
2015-07-12 01:36:23
阅读次数:
170
<!DOCTYPEhtml>
<html>
<head>
<scriptsrc="/jquery/jquery-1.11.1.min.js">
</script>
<script>
$(document).ready(function(){
});
</script>
<styletype="text/css">
.hr{
width:225px;
}
.hrhr{
color:#dddddd;
border:4..
分类:
其他好文 时间:
2015-07-12 00:29:27
阅读次数:
147
我用过网上很多的修改属性的方法,但是都没有能够修改object的宽度和高度的值,因为我的object是用VLC播放的控件嵌入到页面中,VLC的宽度和高度是只读属性,要想修改其属性,只能将“<objectid="video0"align="middle"classid="clsid:591D3014-8D3C-4BA0-869B-008B23125E0C..
分类:
Web程序 时间:
2015-07-12 00:26:51
阅读次数:
228
offsetwidth和style.width的区别是什么:上面两个属性的作用优点类似,都可以返回对象的宽度,但是两者又有很大的区别,下面将通过实例简单介绍一下它们的区别。代码实例: 蚂蚁部落 以上代码中,offsetWidth属性可以返回div的宽度,但是style.width并...
分类:
其他好文 时间:
2015-07-12 00:09:13
阅读次数:
168
clientX观点:鼠标相对于WINDOWS的坐标。这里这个WINDOWS是指我们能看见的浏览器大小。所以不可能超过显示器的大小,如screen.width,screen.height证明:点击获得clientX,clientY的大小,设置为图片定位的位置。如果上面观点不成立,也就是这个坐标不是浏览...
分类:
其他好文 时间:
2015-07-11 22:49:00
阅读次数:
242
1.Tranform 转换(2D,3D)2D:div{margin:30px;width:200px;height:100px;background-color:yellow;/* Rotate div */transform:rotate(9deg);-ms-transform:rotate(9d...
分类:
Web程序 时间:
2015-07-11 18:24:15
阅读次数:
102
Trapping Rain Water
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining.
For example,
Given [0...
分类:
移动开发 时间:
2015-07-11 15:10:33
阅读次数:
164
public Bitmap resizedBitmap(Bitmap bitmap, int screenW, int tv_count) { int width = bitmap.getWidth(); int height = bitmap.getHeight(); int newWidt...
分类:
移动开发 时间:
2015-07-11 14:53:58
阅读次数:
134
#include #include #include #include #include #include const int SCREEN_WIDTH = 640; const int SCREEN_HEIGHT = 480; SDL_Window* gWindow = NULL; SDL_Ren...
分类:
其他好文 时间:
2015-07-11 10:34:13
阅读次数:
107