Resources :: Web Design Tutorial
CSS and Web Templates – Part Two
External, Internal, Header Styles… Which is Applied First?
A web template can incorporate one or all three types of styles within the same HTML file. If you're not sure which CSS style to use in a web template, this tip might help.
Here's how the web browser decides which style to apply first if you're using all three styles.
- Inline styles are applied first, even if the HTML file includes header styles or external style sheets.
- Header styles are applied second, even if an external style sheet is linked to the HTML file.
- External style sheets are applied last.
At times, you may need to incorporate all three styles. If your web page isn't styling correctly, double-check that there's no hidden inline or header style somewhere in the HTML file.
Now, let's discuss, saving style sheets or the CSS file for web templates...
Check out CSS and Web Templates - Part One
If you've found this web design tutorial informative or helpful, please spread the word by linking to Dollar Templates and Fonts. Thank you.
Return to Resources