just wondering if there is a recommended style for capitalization of table and field names etc. thanks
Aug 3, 2010, 3:23 PM
Enthusiast (516 posts)
Aug 3, 2010, 3:23 PM
Post #2 of 9
Views: 2222
Try this (or rather, one of these):
text-transform: lowercase; /* force text to lowercase */
text-transform: uppercase; /* force text to uppercase */
text-transform: capitalize; /* force text to proper case */
}
or
div.caps {text-transform: capitalize;}
Code:
strong { text-transform: lowercase; /* force text to lowercase */
text-transform: uppercase; /* force text to uppercase */
text-transform: capitalize; /* force text to proper case */
}
or
Code:
div.uppercase {text-transform: uppercase;} div.caps {text-transform: capitalize;}
Aug 4, 2010, 12:15 AM
Veteran / Moderator (17602 posts)
Aug 4, 2010, 12:15 AM
Post #4 of 9
Views: 2213
delicia wrote:
just wondering if there is a recommended style for capitalization of table and field names etc. thanksAre you refering to the actual field/table names themselves, OR as MJB suggested with the CSS?
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Aug 4, 2010, 10:32 AM
Veteran / Moderator (17602 posts)
Aug 4, 2010, 10:32 AM
Post #6 of 9
Views: 2197
Hi,
Well, personally I prefer "Username", over "username" .. and if you have multiple words, i.e "User_Password" instead of "user_password"
To be honest though, there is no "standard" as such. Some people even do it as USERNAME or USER_PASSWORD (not my cup of tea though =))
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Well, personally I prefer "Username", over "username" .. and if you have multiple words, i.e "User_Password" instead of "user_password"
To be honest though, there is no "standard" as such. Some people even do it as USERNAME or USER_PASSWORD (not my cup of tea though =))
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
Aug 4, 2010, 4:16 PM
Staff (4090 posts)
Aug 4, 2010, 4:16 PM
Post #8 of 9
Views: 2182
See: http://en.wikipedia.org/...on_%28programming%29
You usually don't put delimiters between words when you do camel case (eg. UserPassword).
Adrian
You usually don't put delimiters between words when you do camel case (eg. UserPassword).
Adrian
Aug 4, 2010, 11:30 PM
Veteran / Moderator (17602 posts)
Aug 4, 2010, 11:30 PM
Post #9 of 9
Views: 2172
brewt wrote:
See: http://en.wikipedia.org/...on_%28programming%29 You usually don't put delimiters between words when you do camel case (eg. UserPassword).
True - I was just giving some examples
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

