View Single Post
  #1  
Old 02-18-2009, 09:45 PM
 
Tiretz Tiretz is offline
 

Newbie
  
Join Date: Aug 2007
Posts: 6
 

Default change text colour - white for main page - black for dialogs

Hi All,

I have a blue background. The dialog box backgrounds are white. I want to have black text in the dialog boxes and white text everywhere else (except the menus but these are handled separately).

I cant seem to do these at the same time. I dont want to change the templates as I dont want to have to go through all of the other templates to see what else appears in this spot.

I though this would have worked...

/* set the main text to white */
div,th,td,p,tt,button,select,inut,textarea {
font-family: verdana, arial, helvetica, sans-serif;
color: #ffffff;
font-size: 11px;
}

/* set all of the same withing a dialog to black */
.dialog > div,th,td,p,select,inut,textarea {
color: #000000;
}

But text that isn't in a dialog box class object is areas is turning black.

Its only the text in plain paragraphs that is a problem. The others all have their own class that I can change.

Have I got the CSS wrong?

I would appreciate any comments to point me in the right direction.


regards

Justin.
__________________
[fsc] X-Cart 4.2.0
Reply With Quote