2011-04-27 73 views
1

我使用.net開發了一個在線考試,現在我想給郵件發送分數。但我希望它看起來像一個證書。我應該如何設計它,或者是否有任何的模板設計可如何設計記分牌?

+1

......你嘗試谷歌?兵?雅虎? Duckduckgo? AltaVista的? http://www.thesearchenginelist.com/? – Ben 2011-04-27 06:41:05

回答

0
<style type="text/css"> 
/*<![CDATA[*/ 
<!-- 
a {text-decoration:none; font-size: 150pt} 
a:link {color: blue;} 
a:visited {color: blue;} 
a:hover {color: blue;} 
a:active {color: blue;}//--> 
/*]]>*/ 
</style> 

<script type="text/javascript"> 
//<![CDATA[ 
var x=0; 

function up() { 
    ++x; 
    y = x.toString(); 
     if (y < 10) { 
     y = "0"+y; 
    } 
    document.getElementById('tens').innerHTML = y.substr(0,1); 
    document.getElementById('ones').innerHTML = y.substr(1); 
} 
function down() { 
    --x; 
    y = x.toString(); 
     if (y < 10) { 
     y = "0"+y; 
    } 
    document.getElementById('tens').innerHTML = y.substr(0,1); 
    document.getElementById('ones').innerHTML = y.substr(1); 
} 
//]]> 
</script> 

嘗試

<a href="#" id="tens" onmousedown="down()" name="tens">0</a><a href="#" id="ones" onmousedown="up()" name="ones">0</a>