Click here to Skip to main content
15,888,454 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
COULD YOU PLEASE SHOW ME HOW TO EDIT THE TEXT BELOW SO THAT I CAN MAKE THE FONT BIGGER AND A DIFFERENT COLOUR (WHITE):



HTML
<html>
<head>
<script type="text/javascript">
function countup(startingdate, base){
this.currentTime=new Date()
this.startingdate=new Date(startingdate)
this.base=base
this.start()
}
countup.prototype.oncountup=function(){}
countup.prototype.start=function(){
var thisobj=this
this.currentTime.setSeconds(this.currentTime.getSeconds()+1)
var timediff=(this.currentTime-this.startingdate)/1000
var secondfield=Math.floor((timediff))
var result={seconds:secondfield}
this.oncountup(result)
setTimeout(function(){thisobj.start()}, 1000) 
}
</script>
</head>
<body>
<div id="holder"> </div>
<script type="text/javascript">
var startDate=new countup("February 4, 2010 14:41:00", "seconds") // Change starting Date Here
startDate.oncountup=function(result)
{
var mycountainer=document.getElementById("holder")
mycountainer.innerHTML=+result['seconds']
}
</script>
</body>
</html>
Posted
Updated 15-Oct-15 14:42pm
v3
Comments
_Amy 15-Oct-15 20:44pm    
You are not allowed to shout here.
Read How To Ask Questions The Smart Way[^]

You can do this using:

HTML
HTML
<div style="font-size:50px">Some Text</div>


or

CSS
CSS
big {font-size: 50px;}

HTML
<big>Some Text</big>
 
Share this answer
 
HTML
<div id="holder"></div>

CSS
#holder{
font-size: 100px;
}


Refer this for better understanding:
http://www.w3schools.com/css/css_font.asp[^]
http://www.w3schools.com/cssref/pr_font_font-size.asp[^]


-KR
 
Share this answer
 
Shouting out is not allowed here.

You should think about learning html and css.
http://www.w3schools.com/[^]
Google is your friend too.
 
Share this answer
 
v2
Comments
Member 12062298 16-Oct-15 6:42am    
Yeah my friend Google suggested I come here.. thanks though!
Patrice T 16-Oct-15 6:50am    
Google also probably suggested other places;
look at w3schools.com

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900