Re: Invalid CSS?

Well, I still don't get it.

The code is valid, indeed. At least the validator says
so. For me it says it is valid. Perhaps you validate
it the wrong way.

c&p the css from your 2nd mail to
http://jigsaw.w3.org/css-validator/validator-text.html
and start validation.

Please note that the CSS Validator has three modes.
1) Validate ONLINE (x)html file.
2) Validate textbox. Enter ONLY CSS code here.
3) Validate OFFLINE CSS(!) file from your directory structure.
This option accepts only pure CSS files and not (x)html with
embedded css in the (x)html or <link rel...> like the first option.

Regarding your 1st post, there are css errors as the "."
for the class are written "..".

Best regards,
Salek


> --- Ursprüngliche Nachricht ---
> Von: "Eddy Luten.com" <eddy@eddyluten.com>
> An: www-validator-css@w3.org
> Betreff: Re: Invalid CSS?
> Datum: Sun, 17 Jul 2005 00:47:10 -0500
> 
> 
> No The code IS valid.
> 
> The sample at the bottom isn't the whole thing. I've e-mailed and 
> attached the whole css stylesheet, but it didn't show up here.
> I'll cut and paste it here below:
> 
> 
> body {
>     font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
>     font-size: 12px;
>     color: #000000;
>     background-color: #939573;
>     background-attachment: fixed;
>     background-image: url("admin-images/bodybg.gif");
>     background-repeat: no-repeat;
>     background-position: right top;
> }
> .main {
>     background-color: #B0AB84;
>     position: absolute;
>     height: 100%;
>     width: 750px;
>     left: 0px;
>     top: 0px;
>     z-index: 1;
>     border-right-width: 1px;
>     border-left-width: 1px;
>     border-right-style: solid;
>     border-left-style: solid;
>     border-right-color: #333333;
>     border-left-color: #333333;
>     background-image: url("admin-images/menubg.gif");
>     background-repeat: no-repeat;
>     background-position: 7px top;
> 
> }
> .margin{
>     background-color: #939573;
>     position: relative;
>     height: 100%;
>     width: 8px;
>     left: 0px;
>     top: 0px;
>     z-index: 2;
>     float: left;
>     margin-right: 5px;
>     margin-bottom: 5px;
>     border-right-width: 1px;
>     border-right-style: solid;
>     border-right-color: #333333;
>     background-image: url("admin-images/marginbg.gif");
>     background-repeat: no-repeat;
>     background-position: left top;
> }
> .output{
>     background-color: #FFFFFF;
>     position: absolute;
>     height: 100%;
>     width: 575px;
>     left: 150px;
>     top: 0px;
>     border-right-width: 1px;
>     border-left-width: 1px;
>     border-right-style: solid;
>     border-left-style: solid;
>     border-right-color: #333333;
>     border-left-color: #333333;
>     padding-right: 5px;
>     padding-left: 10px;
>     background-image: url("admin-images/outputbg.gif");
>     background-repeat: no-repeat;
>     background-position: 10px top;
> 
> }
> .outputmargin{
>     background-color: #DDDDD2;
>     position: relative;
>     height: 100%;
>     width: 10px;
>     left: -10px;
>     top: 0px;
>     z-index: 2;
>     float: left;
>     border-right-width: 1px;
>     border-right-style: solid;
>     border-right-color: #333333;
>     background-image: url("admin-images/outputmarginbg.gif");
>     background-repeat: no-repeat;
>     background-position: left top;
> }
> .menu {
>     background-color: #C2BEA0;
>     position: relative;
>     width: 130px;
>     font-size: 10px;
>     border: 1px solid #333333;
>     margin-top: 5px;
>     margin-right: auto;
>     margin-left: auto;
>     background-attachment: fixed;
>     background-image: url("admin-images/menuoutputbg.gif");
>     background-repeat: no-repeat;
>     background-position: 14px 5px;
>     text-align: left;
> 
> }
> .menuhead {
>     color: #FFFFFF;
>     background-color: #807A53;
>     position: relative;
>     width: 100%;
>     left: 0px;
>     top: 0px;
>     margin-bottom: 5px;
>     font-variant: small-caps;
>     font-size: 12px;
> 
>     letter-spacing: 1px;
> 
> 
> }
> .menualign {
>     position: absolute;
>     left: 14px;
>     text-align: center;
> 
> }
> 
> .specialfont {
> font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
> font-size: 11px;
> color: #FFFFFF;
> }
> .specialfont2 {
> font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
> font-size: 11px;
> color: #000000;
> }
> .boxed {
>     border: 1px solid #000000;
> }
> .textaround {
>     font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
>     text-align: left;
>     font-size: 11px;
>     color: #000000;
>     margin-right: 5px;
> }
> .v {
> background-color: #cccccc;
> color: #000000;
> }
> .zendimg {
> float: right;
> border: 0px none inherit;
> }
> .zendtable
> {
> border: 1px solid #cccccc;
> font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
> font-size: 11px;
> width: 80%;
> position: relative;
> }
> .ring-p
> {
> /*float: left;*/
> position: relative;
> left: 3px;
> border: 1px solid #000000;
> }
> .darkhead {
>     color: #FFFFFF;
>     background-color: #807A53;
>     font-variant: small-caps;
>     font-size: 11px;
>     letter-spacing: 1px;
> }
> .lighthead {
>     color: #000000;
>     background-color: #DDDDD2;
>     font-size: 10px;
> }
> 
> I don't know what's not valid about it, that's why I posted the question 
> here.
> 
> Thanks,
> Eddy
> 

-- 
GMX DSL = Maximale Leistung zum minimalen Preis!
2000 MB nur 2,99, Flatrate ab 4,99 Euro/Monat: http://www.gmx.net/de/go/dsl

Received on Sunday, 17 July 2005 18:28:55 UTC