dreamweaver course in - how do change background

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver course in - How do i change the background color?

dreamweaver course in - How do i change the background color?

resolvedResolved · Low Priority · Version Standard

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

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Dreamweaver tip:

Paragraph formatting

in Dreamweaver if you type in text and press entre you get double line spacing.

To avoid this hold down the shift key and then press Enter for a soft break

View all Dreamweaver hints and tips


Server loaded in 0.07 secs.