Home Blog
Blog
How to vertical align and center text in DIV box element
Others
Written by Dicky   
Friday, 27 July 2012 13:47
AddThis Social Bookmark Button

Say that you have a div with a certain width and height, you want to have a centered text in the middle of that box. Unfortunately, the vertical-align won't work on a div. I did a bit of research and found this article on how to vertical align a text but unfortunately it will only work if it's a one-liner. However, I found out that if you are in table cell, then you could center and vertical-align the text as easy.

Read more...
 
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by
PHP
Written by Dicky   
Wednesday, 11 July 2012 15:47
AddThis Social Bookmark Button

Another issue that I found when executing session_start(); PHP is sometimes you get the following error: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by xxx

Read more...
 
Fatal error: Uncaught exception 'apiAuthException' with message 'Error fetching OAuth2 access token, message: 'invalid_request'
PHP
Written by Dicky   
Wednesday, 11 July 2012 15:34
AddThis Social Bookmark Button

I was playing around with Google API and I have issue with authentication.

Read more...
 
Convert from ASP .NET DateTime to T-SQL equivalent
.NET
Written by Dicky   
Tuesday, 19 June 2012 18:22
AddThis Social Bookmark Button

If you need to run a query to do date comparison but you only have your data stored in .NET DateTime format you cannot simply run the comparison first, you need to convert them using the CONVERT() function on T-SQL.

Read more...
 
Using ServiceReference to call and consume your asmx web service
.NET
Written by Dicky   
Thursday, 24 May 2012 15:32
AddThis Social Bookmark Button

Sometimes, we are forced to use old asmx web service instead of the new WCF, asmx web service is still being used widely by different vendor for its simplicity which probably will be replaced by new ASP .NET MVC 4 Web API feature for new product.

Read more...
 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 6 of 17