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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.