View Full Version : background-color
harryweiss
01-11-2006, 08:43 AM
I have the following in an external style sheet
#content {background-color:#fffdda;color:maroon;font-weight:bold;}
I can get iSilo to recognize any text color but no background colors.
Is this a function of either iSilo or my device (Palm Zire 31), or am I doing something wrong.
iSilo
01-11-2006, 10:28 AM
What you have there should work. Could you post a small example file for which it does not?
harryweiss
01-11-2006, 11:29 AM
This is the stylesheet. All text colors and alignments work. No backgrounds work
body {background-color: #fffdda;color: maroon; font-weight:bold;}
#toparea {background-color: maroon;color: #fffdda; font-weight:bold;text-align:center;}
#content {background-color:#fffdda;color:maroon;font-weight:bold;}
#content a:link {color: blue;background-color:silver;font-weight: 900;}
#content a:visited {color:blue;background-color:silver;}
#content a:hover {color: red; font-size: 95%; background-color:silver;
font-weight: 900; font-variant: small-caps; }
#content a:active {color:blue;background-color:silver;}
#content a {text-decoration: none;}
p {text-indent: 2cm;}
h1 {
font-weight: 900; color:red;text-align: center;font-variant: small-caps;
text-decoration: none; font-size:14px; }
h2
{
font-weight: 900; color:green;text-align: left; font-variant: small-caps;
text-decoration: none; font-size:10px; }
h3
{
font-weight: 900; color:green;text-align: right; font-variant: small-caps;
text-decoration: none; font-size:10px; }
================================================== ======================
This is the home page
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>RAW</title>
<link REL="STYLESHEET" HREF="stylesheet.css" TYPE="text/css" />
</head>
<body>
<div id="toparea">
Harry Weiss<br />RAW
</div>
<div id="content">
<!-- Start Contentt -->
<br />
<a href="altside2006.html"> 2006 Alt Side Park Sched </a><br />
<a href="camps.html"> Camps </a><br />
<a href="cemeteries.html"> Cemeteries </a><br />
<a href="wedhalls.html"> Wedding Halls </a><br />
</div>
</body>
</html>
see http://test.harryweiss.com (http://test.harryweiss.com)
iSilo
01-11-2006, 01:37 PM
iSilo does not have support for styles on link actions, so the styles that you specified on the <a> element's with pseudo classes do nothing in iSilo. If you need to specify a style on an <a> element that has an href attribute, you can do this:
A[href] {color: blue;background-color:silver;font-weight: 900;}
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.