Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Page shifts when adding an ID to the body tag? Re: Page shifts when adding an ID to the body tag?

#76590
xpy
Participant

It is probably because when you press the navfeatured link the browser thinks you want to focus on the element with id ‘featured’ due to the href attribute ‘featured.html’…
My opinion is, you don’t need an id on body… Classes also don’t hurt…