Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q2037 How do I set the backgroundcolor for a specific frame?

You are here: irt.org | FAQ | HTML | Q2037 [ previous next ]

This is done in exactly the same way, as in a normal HTML document.

Using CSS insert the following in your header or in your style sheet:

<STYLE type="text/css">
   BODY { background-color: blue }
</STYLE>

You can learn more about CSS in the article: An Introduction to Cascading Style Sheets.

The oldfashioned, and now deprecated way of things is to add the bgcolor attribute to your BODY tag.

This would make the above example look like this:

<BODY bgcolor="blue">

©2018 Martin Webb