| Subject: | CSS Class versus ID for PHP/MySQL |
|---|---|
| From: | "tomwood2" <webforumsuser@xxxxxxxxxxxxxx> |
| Date: | Mon, 21 Jul 2008 04:04:37 +0000 (UTC) |
| Newsgroups: | macromedia.dynamic.html |
I'm building some template pages for a website that will eventually be populated mostly via PHP/MySQL. The most complex web pages have about ten <div> definitions and three or four text styles. All of the DIVs are unique and happen once on the page. Some of the text styles may happen more than once to style the text of items in an ordered list. Conventional wisdom says use ID for those DIVs, and Class for those text styles. But then I've run across comments that diss ID and say go with Class alone. I'll be delivering these templates to a programming specialist to set up the PHP/MySQL and I'd like to save their time (and my money) by getting these templates as close to right as possible. How should I set these pages up in terms of Class or ID selectors to make the database programmer's job as easy as possible? Thanks, Tom |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | How To Create Drop Down Definitions, GeekyGirl406 |
|---|---|
| Next by Date: | Re: How To Create Drop Down Definitions, Steve |
| Previous by Thread: | How To Create Drop Down Definitions, GeekyGirl406 |
| Next by Thread: | Re: CSS Class versus ID for PHP/MySQL, Michael Fesser |
| Indexes: | [Date] [Thread] [Top] [All Lists] |