CMS & WordPress
I was hoping someone can help me with an issue I am having converting the <div id="pgnav"></div> into HTML5 <nav id="pgnav">...</nav>....
I had tried to do it just by deleting the Div Tag within the Comments.PHP and replacing it with a Nav Tag, it didn't work when I checked it out in firebug.... Anyone thing they can help?
<div class="next-posts"><?php previous_comments_link() ?></div>
<div class="prev-posts"><?php next_comments_link() ?></div>
What do you mean by "it didn't work"? Browsers don't recognize HTML5 tags yet, so you need to use extra CSS and JS to make them work. (Which is another way of saying it's a waste of time to use <nav> yet, and a problem you don't need to be having. )
This topic is now archived. It is frozen and cannot be changed in any way.