Jump to content

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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...