dreamweaver course in - how do change background
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

replyReply Mon 21 May 2007, 16:18Delegate Ayo said...

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?

For upcoming training course dates see: Pricing & availability

replyReply Wed 23 May 2007, 10:34Trainer Rich said...

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

 

Dreamweaver tip:

JumpMenu in new window

When inserting a jumpmenu to a page, the only option available for 'open in' is usually 'main window'. There would be other options available if the page was a frameset.

To change the jumpmenu to open in a new window, change the target parameter of the selectbox in your code to 'window.open()'.

eg.
<select name="menu1" onChange="MM_jumpMenu('window.open()',this,0)">


source:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_16166&sliceId=1

View all Dreamweaver hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard