Coding-Spot

You are not connected. Please login or register

 
 
 

Animated Clock [Help]

Message (Page 1 of 1)

#1

J0k3R^

J0k3R^
 
Advance Member

Posted April 24th 2013, 2:20 am

 
hey, i installed the animated clock from here https://coding-spot.darkbb.com/t47-animated-clock but i want some settings.


1st: i want to be in the center, now its at the left side as u see in the pic

Animated Clock [Help] -%CF%84%CE%AF%CF%84%CE%BB%CE%BF


2nd: theres a problem with the numbers they r not in the center of the cyrcles


and 3rd: can we change the corners of the rectangular with the time to be like the fieldset from top? ("all copyrights, blabla...")





#2

Mark

Mark
 
Administrator
Administrator

Posted April 24th 2013, 2:25 am

 
Find this part:
Code:
.clock .display{
      /* Holds the number of seconds, minutes or hours respectfully */
      position:absolute;
      width:200px;
      font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
      z-index:20;
      color:#F5F5F5;
      font-size:60px;
      text-align:center;
      top:90px;
      left:0;
     
      /* CSS3 text shadow: */
      text-shadow:4px 4px 5px #333333;
    }

Change it with this one:
Code:
.clock .display{
      /* Holds the number of seconds, minutes or hours respectfully */
      position:absolute;
      width:200px;
      font-family:"Lucida Sans Unicode", "Lucida Grande", sans-serif;
      z-index:20;
      color:#F5F5F5;
      font-size:60px;
      text-align:center;
      top:65px;
      left:0;
     
      /* CSS3 text shadow: */
      text-shadow:4px 4px 5px #333333;
    }

For the alignment, put this on your CSS:
Code:
#fancyClock {
margin-left: 400px;
}

For the border, add this to your CSS:
Code:
.clock {
border-radius: 13px;
}



https://coding-spot.darkbb.com


#3

J0k3R^

J0k3R^
 
Advance Member

Posted April 24th 2013, 2:32 am

 
2nd problem, solved

3rd problem, with radius, now its like that, i tihnk there isnt way to make it only the corners ah?

Animated Clock [Help] -%CF%84%CE%AF%CF%84%CE%BB%CE%BF

1st problem, solved





#4

Mark

Mark
 
Administrator
Administrator

Posted April 24th 2013, 2:34 am

 
Remove the 3rd code i gave, replace it with this one:
Code:
#fancyClock {
margin-left: 400px;
border-radius: 13px;
}

Also, play with the value of the margin-left, until it fit's you to be on center. :):



https://coding-spot.darkbb.com


#5

J0k3R^

J0k3R^
 
Advance Member

Posted April 24th 2013, 2:40 am

 
yy i found the right position.
now we have only to solve the radius problem.
i posted a screen to see the corners... hours, mins, secs are like 3 pics and all have 4 radius if u understand what i mean :P
can we make it to ave only 4 radius at right and left?





#6

Mark

Mark
 
Administrator
Administrator

Posted April 24th 2013, 12:41 pm

 
Remove the previous border-radius i have given you.
Then put this instead in your CSS:
Code:
div.green.clock {
  border-top-right-radius: 13px;
  border-bottom-right-radius: 13px;
}
div.orange.clock {
  border-top-left-radius: 13px;
  border-bottom-left-radius: 13px;
}

:D:



https://coding-spot.darkbb.com


#7

J0k3R^

J0k3R^
 
Advance Member

Posted April 24th 2013, 12:49 pm

 
god! :D





#8

Mark

Mark
 
Administrator
Administrator

Posted April 24th 2013, 12:58 pm

 
Is this solved now? :):



https://coding-spot.darkbb.com


#9

J0k3R^

J0k3R^
 
Advance Member

Posted April 24th 2013, 12:59 pm

 
yy all good thanks :):





#10

Mark

Mark
 
Administrator
Administrator

Posted April 24th 2013, 1:05 pm

 
Since the problem is solved, i'll locked this and move to archive section.
~ Locked and Moved



https://coding-spot.darkbb.com


#11

Sponsored content


 

Posted

 





Message (Page 1 of 1)

Permissions in this forum:
You cannot reply to topics in this forum

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None