View Single Post
10-31-2007, 05:49 AM
#6
CreativeLogic is offline CreativeLogic
CreativeLogic's Avatar
Status: Request a custom title
Join date: Feb 2005
Location:
Expertise:
Software:
 
Posts: 1,078
iTrader: 6 / 100%
 

CreativeLogic is on a distinguished road

Send a message via MSN to CreativeLogic

  Old

Originally Posted by LJR View Post
HTML Code:
.class
{
	selector: value;
}
FTW.
Agreed. I code PHP in this way as well, it makes things much easier to read for me. Once you start using your decided 'coding standard' it's hard to move away from it.

If you have a huge block of code within curly braces (especially common in php ifs) then its much easier to distinguish between the start and end of the braces.