Log in

View Full Version : Time and date in the same line?


skjelnes
07-02-2003, 10:38 PM
I have been trying to get both time and date in on line on the hone screen but they are getting on top of each other.

This is the code:
<plugin clsid="{44FA0F8C-082F-42b4-BE49-82559F23D5D4}" name="clock" height="20">
<time font-size="14"/> <date font-size="14"/>
</plugin>

This is how it comes out:
http://home.online.no/~skjelnes/sp/timedate.jpg

Any ideas? :?:

Will
07-02-2003, 11:15 PM
Try:

<plugin clsid="{44FA0F8C-082F-42b4-BE49-82559F23D5D4}" name="clock" height="20">
<time font-size="14"/> <date x="50" font-size="14"/>
</plugin>

or use the carrier plugin (has same functionality, but more 'features')

for reference check out: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsmtphn/html/sp02homescreen.asp
Will

Kris Kumar
07-03-2003, 05:03 AM
Try the halign attribute...

<time halign="left" font-size="14"/> <date halign="right" font-size="14"/>

skjelnes
07-03-2003, 09:23 PM
Thanx a lot for your help. Both work great but I am going with kris_kumar's suggestion. :D

This is how it turned out:

http://home.online.no/~skjelnes/sp/clock_date.jpg