15 Calendar & Time Script With Ajax and Javascript

Ajax Calendar help users to choose one or more dates from a graphical calendar presented in a month interface. Flat Calendar Style, Pop Calendar Style, Fade Effect Calendar Style and more Style make great looking improvement to the user interface of your web application

more http://php-ajax-code.blogspot.com/2007/07/15-calendar-time-script-with-ajax-and.html

Continue reading “15 Calendar & Time Script With Ajax and Javascript”

php number_format Decimal

<?php

$number = 1234.56;

// english notation (default)
$english_format_number = number_format($number);
// 1,235

// French notation
$nombre_format_francais = number_format($number, 2, ',', ' ');
// 1 234,56

$number = 1234.5678;

// english notation without thousands seperator
$english_format_number = number_format($number, 2, '.', '');
// 1234.57

?>

Centre widthless floats

#buttons{
float:right;
position:relative;
left:-50%;
text-align:left;
}
#buttons ul{
list-style:none;
position:relative;
left:50%;
}

#buttons li{float:left;position:relative;}/* ie needs position:relative here*/

#buttons a{
text-decoration:none;
margin:10px;
background:red;
float:left;
border:2px outset blue;
color:#fff;
padding:2px 5px;
text-align:center;
white-space:nowrap;

}
#buttons a:hover{ border:2px inset blue;color:red;background:#f2f2f2;}
#content{overflow:hidden}/* hide horizontal scrollbar*/

thanks http://www.pmob.co.uk/pob/centred-float.htm