| Subject: | Re: CSS Class versus ID for PHP/MySQL |
|---|---|
| From: | "tomwood2" <webforumsuser@xxxxxxxxxxxxxx> |
| Date: | Mon, 21 Jul 2008 15:15:42 +0000 (UTC) |
| Newsgroups: | macromedia.dynamic.html |
[Q]Do they have to be specific? Do you want to address these elements with CSS?[/Q] I guess I'm not understanding the meaning of the word 'specific' in this context. Obviously the information for each video will be specific to that video, but I suspect that's not what you are asking. Yes, I want to style the text with CSS, but the text/data comes via a database. Tom [q][i]Originally posted by: [b][b]Newsgroup User[/b][/b][/i] .oO(tomwood2) > After thinking about it some more, my question is badly formed. > > I have a web page within a site that will contain a listing of videos that >each have the same list components: > > Title > Summary > Date > Length > > Title > Summary > Date > Length > > Title > Summary > Date > Length > > There may be as many as 20 on such a listings page. These elements will also >appear once on the individual page for the video. These elements will be >populated via PHP/MySQL. If I make them ID, there are more than one to a page >on the listing page. If I make them CLASS they aren't specific. Do they have to be specific? Do you want to address these elements with CSS? If not - does there have to be any class or ID at all? >Should these >really be LI within an OL anyway? Sure, looks like a list to me, so an 'ul' or 'ol' would be appropriate. Micha [/q] |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Using SSI versus Dreamweaver Library items., Michael Fesser |
|---|---|
| Next by Date: | Re: Create a form to direct to a specified url?, koldjg2 |
| Previous by Thread: | Re: CSS Class versus ID for PHP/MySQL, Michael Fesser |
| Next by Thread: | Create a form to direct to a specified url?, koldjg2 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |