marain
03-30-2013, 10:12 PM
Hello Folks,
The pertinent part of my css page was...
.18usc3607 { background-image: url("../images/federal0.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top left; }[\CODE]
The css validator didn't like that. Something about a requirement that classnames beginning with a digit be escaped. OK, so I changed it to...
[CODE].\18usc3607 { background-image: url("../images/federal0.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top left; }
That made the css validator happy. Except that looking closer at the validator return, what actually resulted was...
.\000018usc3607 {
background-image : url("../images/federal0.jpg");
background-repeat : no-repeat;
background-attachment : fixed;
background-position : top left;
}
Is there a way to avoid those unwanted leading zeros?
A.
P.S. The Dynamic Drive editor that processes the bracketCODEclosebraket also doesn't seem to like code that begins with a digit.
The pertinent part of my css page was...
.18usc3607 { background-image: url("../images/federal0.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top left; }[\CODE]
The css validator didn't like that. Something about a requirement that classnames beginning with a digit be escaped. OK, so I changed it to...
[CODE].\18usc3607 { background-image: url("../images/federal0.jpg");
background-repeat: no-repeat;
background-attachment: fixed;
background-position: top left; }
That made the css validator happy. Except that looking closer at the validator return, what actually resulted was...
.\000018usc3607 {
background-image : url("../images/federal0.jpg");
background-repeat : no-repeat;
background-attachment : fixed;
background-position : top left;
}
Is there a way to avoid those unwanted leading zeros?
A.
P.S. The Dynamic Drive editor that processes the bracketCODEclosebraket also doesn't seem to like code that begins with a digit.