Usability Views Article Details
 home | timeline | recent | popular | e-reports | userati | about this site

Effective use of style sheets (01 Jul 1997)
Despite my preference for linked style sheets and central design, individual page authors should be allowed to create additional embedded styles for their own pages when necessary. Authors should be encouraged to only do so when absolutely necessary, but there will always be cases where a certain style is needed that is not supplied in the central style sheet. If many pages need the same effect, it should be added to the site's global style sheet, but it would be bad to inflate the one linked style sheet with styles that are only needed once. Single-page styles should be embedded rather than linked: the page should continue to link in the global style sheet and then override it with local, embedded styles as necessary. Doing so has the benefit of allowing future changes to the central style sheet to propagate to the modified page to the greatest extent possible.
Article URL:

Read 328 more articles from Jakob Nielsen sorted by date, popularity, or title.
Next Article: Electronic Systems and Records Management in the Information Age
This site is a labour of love built by Chris McEvoy