Division Style FAQ
Frequently Asked Questions
[1] "How do I change the background colour of my page?"
Freely Given Answers
[1] How do I change the background colour of my page?
To change the background colour in a normal html page you would change the <body> tag of your page to include the colour specification: <body bgcolor="#AABBCC">. In the CMS, though, you don't have access to the <body> tag. One way to change the background of your page is to enclose all of your text in a <div> tag with the appropriate background colour:
<div style="background-color: #f0f7ff">
Some text, images, etc.
</div>
Note that if you are concerned with people using Internet Explorer being able to see this rendered correctly, put an empty <span> tag at the end of your <div> block:
<div style="background-color: #f0f7ff">
Some text, images, etc.
<span></span>
</div>
This is just a kludge to fix an IE bug.
Also, you can use this same <div> tag trick in Structured Text. I have the feeling that the people who wrote the structured text code would consider this to be very bad form, but they're not here right now, are they....
Last modified 2004-10-21 19:08