Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1040923
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T15:17:04+00:00 2026-05-16T15:17:04+00:00

I came across this primer on coding HTML: http://css-tricks.com/examples/CleanCode/Beautiful-HTML.png . Among other things it

  • 0

I came across this primer on coding HTML: http://css-tricks.com/examples/CleanCode/Beautiful-HTML.png.

Among other things it recommends using one stylesheet per page. I have my CSS styles organized in different stylesheets:

  • Global (for all pages)
  • Forms (for all forms)
  • Customers (for all pages related to customers)
  • …and so on.

If I have one stylesheet per page, wouldn’t that lead to huge redundancy? Wouldn’t I end up with tens or hundreds of stylesheets, many of which contain the same definitions?

What are your opinions on this practice? What are your opinions on the primer?

——UPDATE——

I understand that saying ‘one stylesheet per page’ doesn’t necessarily equate to having many stylesheets across the site, so here’s a simple follow-up question.

Based on your responses, is it appropriate to have one stylesheet that covers my entire site that may therefore include thousands of rows and hundreds/thousands of unused rows for a particular page it is loaded with? (My stylesheets are high on rows because I tend to put each style for a given class on a new row.)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T15:17:04+00:00Added an answer on May 16, 2026 at 3:17 pm

    I don’t think they mean you to use a different style sheet on each page; they mean each page should only have one style sheet. That one stylesheet can apply to many pages, and probably to the whole site. There is no redundancy,

    It’s not a hard rule though. In big sites with many developers and designers, you may want to separate the styles into several sheets, as you are currently doing. For small to medium sites, the single global style sheet is generally easier to manage and gives a (very slight) performance advantage. There is no benefit in excluding form-related styles, for example, from pages that don’t happen to include a form.

    Perhaps the point they were trying to make is that you can put different rules for different media into one sheet — you don’t need different sheets for different media.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I came across this example class http://www.boost.org/doc/libs/1_49_0/libs/smart_ptr/sp_techniques.html#as_lock and I'm struggling with the syntax. class
I came across this tutorial: http://thomas.broxrost.com/2008/04/08/django-on-google-app-engine/ Fantastic! Everything worked. I just did not fully
Came across this code: <?php require_once 'HTTP/Session/Container/DB.php'; $s = new HTTP_Session_Container_DB('mysql://user:password@localhost/db'); ini_get('session.auto_start') or session_start();
I came across this issue last night where my CSS would not affect the
I came across this question from interviewstreet.com Machines have once again attacked the kingdom
I came across this Linq to Sql code in an application I am maintaining:
I came across this due to a bug in my code and I'm curious
I came across this problem when I want to check what I input is
I came across this line in a MySQL script `other_validator` varchar(5000) NOT NULL DEFAULT
I came across this line in a book on WCF: ...and the languages used

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.