Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

Dreamweaver colour problem

Posted 30 May 2006 02:00:52
1
has voted
30 May 2006 02:00:52 Kathleen Donaldson posted:
I'm using Dreamweaver mx and have assigned a background colour to all pages on the site. The pages preview with the correct colour however, two pages are coming up with a white background online. The code shows the correct colour. Any advice on how to fix this problem would be most appreciated!

Kate

"The difference between crisis and adventure is attitude."

Replies

Replied 30 May 2006 17:08:03
30 May 2006 17:08:03 Jeremy Conn replied:
How are you setting the background color?

<b>Jeremy Conn</b>
www.conncreativemedia.com
DWMX2004 | ASP/VB | Access/SQL2000
Replied 30 May 2006 17:15:07
30 May 2006 17:15:07 Kathleen Donaldson replied:
I'm setting the background colours in "page properties". In fact, the colours wre fine for awhile but, after an update, two of the pages suddenly reverted to white, online. They preview and appear in Dreamweaver correctly.

"The difference between crisis and adventure is attitude."
Replied 30 May 2006 17:55:56
30 May 2006 17:55:56 Javier Castro replied:
can you show your code?
Replied 30 May 2006 18:19:07
30 May 2006 18:19:07 Kathleen Donaldson replied:
Here is the section of code that refers to page properties. I can send more code for the page, if necessary.

The site is www.jtwinik.com, if you want to see what's happened. The first page should have a green background, like the other pages.

&lt;/HEAD&gt;

&lt;BODY bgcolor="#336666" text="#FFCC66" link="#FFCCCC" vlink="#FFCCCC" alink="#FFCCCC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" class="background" onLoad="MM_preloadImages('Resources/buttons/butabouton.gif','Resources/buttons/butgalleryon.gif','Resources/buttons/butlinkson.gif','Resources/buttons/butcontacton.gif')"&gt;
&lt;P&gt;&lt;CENTER&gt;&lt;TABLE WIDTH="441" BORDER="0" CELLSPACING="2" CELLPADDING="0"&gt;



"The difference between crisis and adventure is attitude."
Replied 30 May 2006 21:59:40
30 May 2006 21:59:40 Javier Castro replied:
One thing you can do is to create a CSS file where you state the background colour of your pages instead of using the page property for each page. Thenk you link your CSS to all your pages and all should have the same colour.


what is the class="background"
&lt;BODY bgcolor="#336666" text="#FFCC66" link="#FFCCCC" vlink="#FFCCCC" alink="#FFCCCC" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" <b>class="background"</b> onLoad="MM_preloadImages('Resources/buttons/butabouton.gif','Resources/buttons/butgalleryon.gif','Resources/buttons/butlinkson.gif','Resources/buttons/butcontacton.gif')"&gt;
&lt;P&gt;&lt;CENTER&gt;&lt;TABLE WIDTH="441" BORDER="0" CELLSPACING="2" CELLPADDING="0"&gt;

Reply to this topic