• I am getting an error in my page where I have 2 blog loops. The validation error is listed below.

    Thanks.

    Error Line 192 column 28: ID "post-" already defined.

    <div class="post" id="post-">

    An "id" is a unique identifier. Each time this attribute is used in a document it must have a different value. If you are using this attribute as a hook for style sheets it may be more appropriate to use classes (which group elements) than id (which are used to identify exactly one element).

Viewing 1 replies (of 1 total)
  • It looks like you have posted this problem twice – I will post here the reply I gave on the previous question.

    What this is saying is that you have defines a style class ‘post’ for styling elements on the page. Classes can be reused.

    The code then goes on to try to declare an identifier using the same name ‘post’ and this is not allowed.

    Look in your template and in the post entry to see if the declaration is there.

    Do you have a url for people to look at?

Viewing 1 replies (of 1 total)
  • The topic ‘ID “post-” already defined’ is closed to new replies.