macromedia.dynamic.html
[Top] [All Lists]

Re: CSS Class versus ID for PHP/MySQL

Subject: Re: CSS Class versus ID for PHP/MySQL
From: Michael Fesser <netizen@xxxxxx>
Date: Mon, 21 Jul 2008 15:47:09 +0200
Newsgroups: macromedia.dynamic.html

.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

<Prev in Thread] Current Thread [Next in Thread>