> I read somewhere on this forum that having only one stylesheet for all webpages is > ideal. Would it be bad practice for each webpage to have two stylesheets: a shared > one that includes generic styling such as navbars, fonts, h1 etc.. and a stylesheet > that styles components only belonging to that webpage and nowhere else.
Pretty sure Tim covered this in the CSS lecture. Having a single style sheet for the
entire website is good because a copy will be cached on the users machine and provides a
central place to change styling. Due the cascading nature of CSS if you want additional
styling that overrides the stylesheet or that is unique to that page you can use a second
sheet or place it in the head of the HTML document. Just remember to place the second
sheet/other style after you have called the global sheet.