Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | HTML | Q2037 [ previous next ]

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

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">

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.