HTML {
SCROLLBAR-FACE-COLOR:#ddee88;MARGIN:0px;SCROLLBAR-ARROW-COLOR:#747474;SCROLLBAR-TRACK-COLOR:#000000;TEXT-ALIGN:center;}
BODY {
FONT-SIZE:12px;BACKGROUND:url(http://f6.wretch.yimg.com/tsmhl/60/1631807459.jpg) #ddee88 repeat-x left top;MARGIN:0px auto;WIDTH:990px;COLOR:#355515;POSITION:relative;TEXT-ALIGN:center;}
A {
COLOR:#336600;}
#container1:unknown {
DISPLAY:block;VISIBILITY:hidden;OVERFLOW:hidden;HEIGHT:0px;content:".";}
#banner {
BACKGROUND:url(http://f6.wretch.yimg.com/tsmhl/60/o1631817915.jpg) no-repeat center top;MARGIN-BOTTOM:70px;WIDTH:990px;HEIGHT:450px;}
目前分類:● 程式碼 (42)
- Mar 02 Mon 2009 19:23
2008-2-CSS
- Dec 31 Wed 2008 00:40
樣式又在修改...
樣式又在修改...預計會先整理個幾天
麻煩文章的朋友們點選"所有文章"網址如下:
http://www.wretch.cc/blog/tsmhl&list=1
- Dec 31 Wed 2008 00:25
CSS
modified by tsmhl
powered by wretch design wizard - www.wretch.cc
---------- */
body {
padding-right:0px;padding-left:0px;font-size:0.8em;background:url(http://f6.wretch.yimg.com/tsmhl/46/1262730237.jpg) #e3eeaa;padding-bottom:0px;margin:0px;padding-top:0px;font-family:"Georgia";}
#container1 {
background:url(http://f6.wretch.yimg.com/tsmhl/46/o1262723771.jpg) repeat-y left top;margin:0px auto;width:1000px;position:relative;}
a {
text-decoration:none;}
- Jul 02 Wed 2008 00:14
CSS修改週
本週又到了CSS修改週
這次的主題應該會改夏天一點的吧?
所以本週的樣式會有些混亂
這週過去應該就好了吧?
以下是桐花版css怕我救不回來
先貼著怕忘掉
想用來修看看的朋友可以來拿試試看
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
BODY {
- Jun 16 Mon 2008 17:07
英打慢慢慢
1 A tsunami warning was issued Saturday for Japan and a broad area
A
B
1 A tsunami warning was issued Saturday for Japan and a broad area
Linestroke:65 Allstroke:65 Lineerror:0 Allerror:0
2 surrounding the Pacific Ocean after a major undersea earthquake east
A
B
2 surrounding the Pacific Ocean after a major undersea earthquake east
Linestroke:69 Allstroke:134 Lineerror:0 Allerror:0
- May 28 Wed 2008 23:31
FT5754驅動版
在畢業專題這條所費不貲的道路上,總是會有許多意想不到的事情發生,
例如啦:自行焊接的電路怎麼都
HMS-A023
http://shop.cpu.com.tw/product_info.php/cPath/38_215_948/products_id/3108
- Feb 25 Mon 2008 00:37
[my_css]2008 樣式
/* ----------
modified by tsmhl
powered by wretch design wizard - www.wretch.cc
---------- */
body {
padding-right: 0px;
background-position: 0% 0%;
padding-left: 0px;
font-size: 0.8em;
background-attachment: scroll;
- Jan 09 Wed 2008 13:00
[my_school]20080109ASP SOME
Ctype:取出物件的特性
FindControl:尋找物件
Image:表取出"影像"的特性
Visible:是否可見
False:看不見
DataBind()做資料連結
DefaultValue定義數值
DataKeys由標註來參數值
Response.Redirect("forumadim.aspx")連結到forumadim.aspx網頁
- Jan 07 Mon 2008 12:05
[my_css]wanna you OLDS
/* ----------
modified by tsmhl
powered by wretch design wizard - www.wretch.cc
---------- */
body {
background-image: url(http://graysky.myweb.hinet.net/mhl2006.jpg);
cursor: url('http://hk.geocities.com/com-joe/hugo.ani');
background-repeat: repeat;
background-color: #ebffda;
}
- Jun 04 Mon 2007 10:03
[my_school]-0604java-11章
1.QA6
class Ex1 extends Exception {}
class Ex2 extends Ex1 {}
class QA11_6{
public static void main(String [] args){
String str ="";
int i=2;
try{
try{
switch(i){
- May 28 Mon 2007 11:41
[my_school] 0528java 11章
1.
class EX11_5 {
public static void main(String [] args) {
try {
String a[]=new String[2];
//a[0]="aa";
//a[0]="81";
//a[0]=a[0];
double i = Double.parseDouble(a[0]);
double j = Math.sqrt(i);
- May 07 Mon 2007 00:00
[my_school]0507java暗棋
1.林偉川版
class EX10_12 {
public static void main(String [] args) {
String[] black = {"將", "士", "士", "象", "象", "車", "車", "馬", "馬", "包", "包", "卒", "卒", "卒", "卒", "卒"};
String[] red = {"帥", "仕", "仕", "相", "相", "人車", "人車", "傌", "傌", "炮", "炮", "兵", "兵", "兵", "兵", "兵"};
String[] cards = new String[32];
for(int i=0; i for(int i=0; i for(int i=0; i int newLoc = (int) (Math.random()*cards.length);
String tmp = cards[i];
cards[i] = cards[newLoc];
cards[newLoc] = tmp;
- May 04 Fri 2007 10:53
[my_school]0514JAVA
1.
class EX10_6 {
public static void main(String [] args) {
String s1 = "AbCd多雷米";
String s2 = "小溪啊小溪~田裡的灌溉都靠妳!";
System.out.println( s1.toLowerCase() );//全小寫 但S1不變
System.out.println( s1.toUpperCase() );//全大寫 但S1不變
System.out.println( s1);//S1
System.out.println( s2.replace('溪', '河') );//溪改河 S2 不變
System.out.println( s2 );
- Apr 30 Mon 2007 10:57
[my_school]0430-FF版本java浮點數包裝器
1.浮點數32/64包裝器-
//改寫林老師WEBEX10_10
class j0403_1 {
//原EX10_10改寫
public static void main(String [] args) {
float[] f = {12.75f, -100, Float.POSITIVE_INFINITY, Float.NEGATIVE_INFINITY, Float.NaN};
double[] f1 = {12.75, -100, Double.POSITIVE_INFINITY, Double.NEGATIVE_INFINITY, Double.NaN};
System.out.println("※32版" );
- Apr 16 Mon 2007 10:21
[my_school]0416java
/*寫法1*/
1.更改JC.BAT並執行
set path=%path%;C:\Program Files\Java\jdk1.5.0_06\bin
set CLASSPATH=.;C:\Program Files\Java\jdk1.5.0_06\lib\tools.jar
JC [enter]
2.
javac -classpath.;my.jar EX9_9.java
java -classpath.;my.jar EX9_9
java -classpath.;d:\package\my.jar EX9_9.java
- Apr 09 Mon 2007 00:00
[my_school]0409java
1.繼承匿名類別
/*匿名類別(Anonymous classes)是區域內部類
別的一種,顧名思義匿名類別沒有名稱,所
以也不能定義建構子。
匿名類別的目的只是要建立一個物件,物
件建立之後就不會再使用該類別。
匿名類別常當作覆蓋或實作抽象方法之用。*/
/*匿名類別的功能就是只建立一個物件,所以類別
主體的定義和建立物件是一氣呵成。
- Apr 02 Mon 2007 09:51
[my_school]0402java
0402java
繼承
1.
class EX8_13{
public static void main(String [] args) {
Animal[] a = new Animal[3];
a[0] = new Animal(); a[1] = new Vertebrate(); a[2] = new Fish();
for(int i=0; i if(i==0)
System.out.println("a[" + i + "]=" + a[i]);
- Mar 26 Mon 2007 10:26
[my_school]JAVA0326
01-
class Super{
static int i=10;
}
final class QA8_1 extends Super{
static int i=5;
public static void main (String[] args){
Super t=new Super();
System.out.println(t.i);
System.out.println(i);
- Mar 19 Mon 2007 10:11
[my_school]JAVA0319
1.
// 範例:EX7_30.java
public class EX7_30
{
enum YourColor {PINK, IVORY, ORANGE, WHITE, GOLDEN};
enum MyColor {RED, GREEN, BLUE, YELLOW}
//程式起始方法
public static void main(String [] args)
{
MyColor mc = MyColor.GREEN;
- Mar 12 Mon 2007 10:20
[my_school]JAVA0312
1.fu06
class ch07_10 {
public static void main(String [] args) {
銀行帳號 哈利 = new 銀行帳號("8888", 100);
哈利.存款(2000);
哈利.提款("6666", 10000); 哈利.提款("8888", 10000);
哈利.查詢("5487");哈利.查詢("8888");
哈利.提款("8888", 1000);
//System.out.println(哈利.金額); //錯誤
//哈利.查詢(); //錯誤