just wondering if there is a recommended style for capitalization of table and field names etc. thanks
Aug 3, 2010, 3:23 PM
Enthusiast (559 posts)
Aug 3, 2010, 3:23 PM
Post #2 of 9
Views: 15416
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 (18436 posts)
Aug 4, 2010, 12:15 AM
Post #4 of 9
Views: 15435
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 | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Aug 4, 2010, 10:32 AM
Veteran / Moderator (18436 posts)
Aug 4, 2010, 10:32 AM
Post #6 of 9
Views: 15439
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 | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
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 | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Aug 4, 2010, 4:16 PM
Staff (4101 posts)
Aug 4, 2010, 4:16 PM
Post #8 of 9
Views: 15406
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 (18436 posts)
Aug 4, 2010, 11:30 PM
Post #9 of 9
Views: 15358
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 | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!