Cannot change background color

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Cannot change background color

Long Haired David
I have the following style sheet defined and called by my Seaside program. All of the entries for h2 and table take effect but I can't change the background color or the text color of the main page. Can anyone explain why?

standardStyle

^ '? 
body{
background-color: yellow;
color: red;
}

h2 { 
font-size: 20pt; 
font-weight: strong; 
color: red;
table { } 
td { 
border: 2px solid #CCCCCC; 
padding: 4px; 
} th { 
border: 2px solid #CCCCCC; 
padding: 4px; 
} th, td {
  text-align: left;
}
.LinkClass { font-size: 20pt; }

.field { background-color: lightgrey; } '


Message sent using Winmail Mail Server

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
David
Totally Objects
Doing Smalltalk since 1989
Reply | Threaded
Open this post in threaded view
|

Re: Cannot change background color

Long Haired David
It's OK. I had a spurious ' which negated all of the text below. I have it working now. Sorry to trouble you.


David


--------- Original Message ---------
From: "David Pennington" <[hidden email]>
To: "Seaside - general discussion" <[hidden email]>
Subject: [Seaside] Cannot change background color
Date: 06/30/2019 20:59:04 (Sun)

I have the following style sheet defined and called by my Seaside program. All of the entries for h2 and table take effect but I can't change the background color or the text color of the main page. Can anyone explain why?

standardStyle

^ '? 
body{
background-color: yellow;
color: red;
}

h2 { 
font-size: 20pt; 
font-weight: strong; 
color: red;
table { } 
td { 
border: 2px solid #CCCCCC; 
padding: 4px; 
} th { 
border: 2px solid #CCCCCC; 
padding: 4px; 
} th, td {
  text-align: left;
}
.LinkClass { font-size: 20pt; }

.field { background-color: lightgrey; } '


Message sent using Winmail Mail Server




_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



Message sent using Winmail Mail Server

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
David
Totally Objects
Doing Smalltalk since 1989