Originally Posted by LJR
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.