ksnyders
posted this
29 December 2023
Obviously as a developer, I can tell you that it is possible to move the css into stand alone file. The answer "Inline CSS shouldn't affect SEO" is not sufficient. Then we have to weigh the ease of use of nicepage against the possible SEO consequences.
From stackoverflow:
"Answered and voted for by true developers.
In-line CSS will contribute to the payload of the page and that affects the load speed. Load speed is one of many ranking factors so it's almost an impossible question to answer conclusively.
The text to code ratio also plays a role. Tons of code to render a few lines of visible text means that search engines need to dig deeper to find the content relevancy in pages. Matt Cutts has alluded to this a few times.
While search engines may ignore comments and in-line css/js the bandwidth, processing and storage logistics may be motivation enough to dampen the SEO performance to some degree on heavy in-line css pages.
Personally I use in-line code only when absolutely page specific scenarios require it and even then I use css compression tools to reduce white space in the documents when ready for production.
I have had this conversation on many occasions and no neither side is conclusive. My simple answer is, if it "could" be detrimental then why risk it."
Obviously as a developer, I can tell you that it is possible to move the css into stand alone file. The answer "Inline CSS shouldn't affect SEO" is not sufficient. Then we have to weigh the ease of use of nicepage against the possible SEO consequences.
From stackoverflow:
"Answered and voted for by true developers.
In-line CSS will contribute to the payload of the page and that affects the load speed. Load speed is one of many ranking factors so it's almost an impossible question to answer conclusively.
The text to code ratio also plays a role. Tons of code to render a few lines of visible text means that search engines need to dig deeper to find the content relevancy in pages. Matt Cutts has alluded to this a few times.
While search engines may ignore comments and in-line css/js the bandwidth, processing and storage logistics may be motivation enough to dampen the SEO performance to some degree on heavy in-line css pages.
Personally I use in-line code only when absolutely page specific scenarios require it and even then I use css compression tools to reduce white space in the documents when ready for production.
I have had this conversation on many occasions and no neither side is conclusive. My simple answer is, if it "could" be detrimental then why risk it."