Jump to content

CSS issues


ThatJeeves

Recommended Posts

Hello. I little problem has arised with my stylesheet. The thing is, I have defined some elements in my css-file that doesn't correspond to any elements in my html-document. For example, I define <hr> in my css-document, however, without any hr in my html-document. Will I have to remove every element (hr and others) from my css-file in order for my site to be seo-friendly?

Link to comment
Share on other sites

It doesn't matter what's in your stylesheet. You don't need to worry about styling elements that don't exist. Since the stylesheey may be used on several pages, not all elements referenced from the stylesheets are necessarily in every page.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...