CSS font stacks, developer FAQs & web standards

Your banner ad here

WestNIC provides reliable web hosting services

Top Canadian Hotels no booking fees from Victoria BC to Nova Scotia

Site navigation below

This FAQ is part of the Code Style Help and FAQ section. Join our premium content service for full access all FAQ answers.

CSS authoring issues

Q: Why do I get horizontal scrolling?

A: The width any element is made up of the following CSS properties...

premium content omitted

Sign up for premium content now Access all premium content for $50: sign-up now.
Why do I get horizontal scrolling?

Actions: Follow-up, clarify or correct this answer. Submit a new question.

Q: My style sheet does not show on my form confirmation page!

A: You are probably using a relative path reference for your CSS, which does not resolve correctly on your results page. For instance, if you have a form located at ...

premium content omitted

Sign up for premium content now Access all premium content for $50: sign-up now.
My style sheet does not show on my form confirmation page!

Actions: Follow-up, clarify or correct this answer. Submit a new question.

Q: My fonts are too small on Mac!

A: Without seeing your page, this is all guess-work, but you are probably using px or pt units for your font-size values. Mac OS browsers and screen configurations generally result in font sizes that are relatively smaller than on Windows systems for these length units. In any case, it is more appropriate to use % or em length values for fonts on the World Wide Web and this will allow users to adjust font sizes to their preferences using their browser font settings.

Actions: Follow-up, clarify or correct this answer. Submit a new question.

Q: What can I do if my CSS file is corrupted?

A: If your CSS file is corrupted, you will need to recover a copy from a backup version of some kind. Many text editors create a backup when you edit a file; the application's configuration settings may indicate where you can find the backup.

premium content omitted

Sign up for premium content now Access all premium content for $50: sign-up now.
What can I do if my CSS file is corrupted?

Actions: Follow-up, clarify or correct this answer. Submit a new question.

CSS browser issues

Q: My styling works in Firefox but not in IE!

A: You should validate and correct your XHTML and CSS before you ask questions like this. Follow these links for details of online markup validators and CSS syntax checkers.

You can also validate your markup on your computer, see Validate your markup with NSGMLS.

Actions: Follow-up, clarify or correct this answer. Submit a new question.

Q: My link colours don't work in IE8!

A: When you get problems like this you should validate your CSS to rule out syntax errors. In this case, you will find that the colour “tan” is not a legitimate CSS colour value. You will also get warnings that you should specify a background colour for each of your foreground colour declarations.

Use the W3C CSS validator installation guide to set up a local syntax checker.

Actions: Follow-up, clarify or correct this answer. Submit a new question.

Add this page to your chosen social bookmarking service

Style warning, please read

Home · CSS · Java · Javascript · HTML · Help · Log