Ayo has attended:
Dreamweaver 8 Introduction course
Dreamweaver 8 Intermediate course
How do i change the background color?
How do i change the background color?
RE: How do i change the background colour?
Hi Ayo,
You can do this the traditional way in the body tag:
<BODY background="#F5F5F5">
Or use the newer CSS method:
body {
background-color: #F5F5F5;
}
The CSS method is good, because if you need different background colours throughout your page, you can do the same, except use DIVs.
eg.
.group1 {
background-color: red;
}
.group2 {
background-color: green;
}
<div class="group1">I am in the red zone</div>
<div class="group2">I am in the green zone</div>
Then use other properties in each group to control layout, alignment and size of each class.
Hope this helps.
Regards, Rich