Hallo Leute
Ich verzweifle langsam an der Fehlermeldung von den validatoren ergebnissen.
Error: Duplicate ID news.
From line 148, column 5; to line 148, column 19
/div>↩ <div id="news">↩
Warning: The first occurrence of ID news was here.
From line 139, column 5; to line 139, column 19
</h1>↩ <div id="news">↩
Error: Duplicate ID style.
From line 149, column 7; to line 149, column 21
s">↩ <ul id="style">↩
Warning: The first occurrence of ID style was here.
From line 140, column 7; to line 140, column 21
s">↩ <ul id="style">↩
Error: Duplicate ID date.
From line 151, column 11; to line 151, column 23
<p id="date"><span>
Warning: The first occurrence of ID date was here.
From line 142, column 11; to line 142, column 23
<p id="date"><span>
Wie kann man diese Fehlermeldungen beheben?
Die Einträge sind doppelt, da es ja News sind.
Hier mal der Orig. Code.
<section>
<h1>News</h1>
<div id="news">
<ul id="style">
<li>
<p id="date"><span>02</span> 01 2015</p>
<h3>Update ***</h3>
<p>***</p>
</li>
</ul>
</div>
<div id="news">
<ul id="style">
<li>
<p id="date"><span>16</span> 12 2014</p>
<h3>Update ***</h3>
<p>***</p>
</li>
</ul>
</div>
<div id="news">
<ul id="style">
<li>
<p id="date"><span>17</span> 10 2014</p>
<h3>Update ***</h3>
<p>***</p>
</li>
</ul>
</div>
<div id="news">
<ul id="style">
<li>
<p id="date"><span>17</span> 08 2014</p>
<h3>Update ***</h3>
<p>***</p>
</li>
</ul>
</div>
<div style="margin: 10px auto 0 auto; text-align: center; width: 60%;"><div id="pagebar-bottom" class="pagebar"><span class="pagebar-label">Seiten:</span> <span class="pagebar-curpage" style="font-weight: bolder;">1</span> </div></div>
</section>
Jemand eine Idee was man hier tun kann?
Das ist kein Einzelfall.
Alle Fehlermeldungen kommen wegen Duplicate ID