Jump to content

Not sure how to explain it. PHP, CSS and HTML div tags


Andy11548

Recommended Posts

Right,

 

I really don't know how to explain it, but I will try my best.

 

When I echo all the threads from my database (making a forums), I use a div tag to sort it all out

<div id="forumSub">

 

However, this causes errors (in w3 standard) because of calling the same div tag continuously.

 

Is there a way, to make it unique to bypass that error, but it still runs from the same CSS Div ID (forumSub).

 

So it would say something like "forumSub1", but still use the #forumSub { } css style?

 

 

Thanks,

Andy.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.