how-to block ads
Cascading Style Sheet properties can be used with HTML to bring life to your FAQ entries.
Please remember that FAQs are for concisely sharing information -- don't get carried away.
A good use for CSS is to create notes, or warnings. Here is the code for a very simple warning box:
This is its result:
Warning: Don't cut the BLUE wire!
That is pretty effective as is, but by using some additional properties, it's possible to create a more sophisticated one. Here is the code:
This is the result:
If you're not already familiar with CSS and HTML, you can copy and paste the above code to use in your own FAQ entries. It's easy to change the colors and text.
All the above code has been tested in Internet Explorer, Opera, and Firefox, and is viewable with the "printable all-text format" feature associated with a FAQ. This means it should work in all modern browsers. If you decide to experiment, other CSS code may not--test it.
CSS doesn't work the same in all browsers.
If you'd like to learn more about CSS properties, here's a reference link: