Quote:
Originally Posted by Cricket
the benefits of using an external style sheet vs. inline CSS
|
Benefits of Using an External Stylesheet (External CSS)- All your styles are in one spot.
- Reduces web page coding.
- Easier to maintain the website.
Problems with Inline Styling- Adds coding to the web page.
- Difficult to maintain. You have to look for every instance when making a change.
Your goal should be to create the least amount of coding required and create a situation where the site is easily maintained.
Quote:
Originally Posted by Cricket
and if you feel it is worth the time to convert a site from inline CSS to an external style sheet.
Why do you feel that way?
|
As noted above, using an external stylesheet saves on coding. There is one line added to the head section of your web page coding. An external stylesheet also makes it so much easier to make sitewide changes like font colour for example.
With inline styles, if you wanted to apply the font colour example, you would have to find every instance where you have set the font colour and fix it. This can take a very long time if you have lots of pages. With an external stylesheet it just takes a sec to update all the pages.
I have an article that explains all this further for those still wondering about this:
Which Stylesheet Type to Use and When?