:::

16-2 上課範例:style.css

body {
    background-color: #000000;
    margin: 0px;
    padding: 0px;
    background-image: url(images/bg.png);
    background-repeat: no-repeat;
    background-position: center top;
    color: #000000;
  font-size:11pt;
}

a {
  text-decoration:none;
  font-size:11pt;
  color:rgb(51,102,153);
}

#page {
    width:980px;
    margin-top: 250px;
    margin-right: auto;
    margin-left: auto;
    background-color: #ffffff;
}

.block{
    font-size:12px;
    margin:0px auto 10px;
}



.block a{
    color:#CCFF66;
}


.block_center{
}

.right_tbl{
    width:200px;
    border-collapse: collapse;
    margin:0px;
    color:#000000;
    font-size:11pt;
}

.block_g{
  background-image:url(images/title_g.png);
  height:30px;
  color:white;
  text-align:center;
  text-shadow: #000000 1px 1px 1px;
  filter: progid:DXImageTransform.Microsoft.Shadow (color="#000000", strength="3", direction="135");
}

.block_o{
  background-image:url(images/title_o.png);
  height:30px;
  color:white;
  text-align:center;
  text-shadow: #000000 1px 1px 1px;
  filter: progid:DXImageTransform.Microsoft.Shadow (color="#000000", strength="3", direction="135");
}

.block_b{
  background-image:url(images/title_b.png);
  height:30px;
  color:white;
  text-align:center;
  text-shadow: #000000 1px 1px 1px;
  filter: progid:DXImageTransform.Microsoft.Shadow (color="#000000", strength="3", direction="135");
}

#page2 img {
  max-width: 500px;
  width:expression(this.width > 500? "500px" : this.width);
  overflow:hidden;
}

div.comText {
  table-layout: fixed;
  word-wrap: break-word;
  width: 540px;
  overflow: hidden;
}

.block_center .blockTitle{
  display:none;
}

.login{
  color:white;
  text-shadow: #000000 1px 1px 1px;
  filter: progid:DXImageTransform.Microsoft.Shadow (color="#000000", strength="3", direction="135");
}

#regist , #lost_passwd{
  color:rgb(255,204,0);
  text-shadow: #000000 1px 1px 1px;
  filter: progid:DXImageTransform.Microsoft.Shadow (color="#000000", strength="3", direction="135");
}

.login input[type=text] , .login input[type=password]{
  border:1px solid rgb(102,153,204);
  font-family: Verdana;
  background-color:rgb(0,48,16);
  color:white;
}


:::

搜尋


書籍目錄

展開 | 闔起

線上使用者

17人線上 (4人在瀏覽線上書籍)

會員: 0

訪客: 17

更多…