CSS validation

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
Tata
Posts: 2993
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

CSS validation

Post by Tata » Thu Jul 18, 2019 12:29 pm

In xhstyles.css, there is e.g.

Code: Select all

...
    background-position: 10px 10px;
    -moz-border-radius:4px; /* Firefox */
    -webkit-border-radius:4px; /* Safari, Chrome */
    -khtml-border-radius:4px; /* Konqueror */
...
Using https://jigsaw.w3.org/css-validator/ I get the warning
Warnings (3)
URI : https://www.cmsimple.sk/table_xh/assets ... styles.css
884 -moz-border-radius is an unknown vendor extension
885 -webkit-border-radius is an unknown vendor extension
886 -khtml-border-radius is an unknown vendor extension
How is it with these vendors' extensions? Are they still necessary?
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

lck
Posts: 1735
Joined: Wed Mar 23, 2011 11:43 am
Contact:

Re: CSS validation

Post by lck » Thu Jul 18, 2019 1:03 pm

Tata wrote:
Thu Jul 18, 2019 12:29 pm
How is it with these vendors' extensions? Are they still necessary?
Probably this information comes from a plugin (?).

No, not necessary. https://caniuse.com/#search=border-radius or http://shouldiprefix.com/#border-radius
„Bevor du den Pfeil der Wahrheit abschießt, tauche die Spitze in Honig!“   👉 Ludwig's XH-Templates for MultiPage & OnePage

cmb
Posts: 13273
Joined: Tue Jun 21, 2011 11:04 am
Location: Mü-Sa, RLP, DE
Contact:

Re: CSS validation

Post by cmb » Fri Jul 19, 2019 3:37 pm

lck wrote:
Thu Jul 18, 2019 1:03 pm
Probably this information comes from a plugin (?).
Yes, hi_updatecheck.
Not sure if we can drop support for Firefox 3.6. ;)
Christoph M. Becker – Plugins for CMSimple_XH

Tata
Posts: 2993
Joined: Tue May 20, 2008 5:34 am
Location: Slovakia
Contact:

Re: CSS validation

Post by Tata » Fri Jul 19, 2019 4:39 pm

I have found it both in /assets/css/xhstyles.css (this looks like the css_code from hi_updatecheck)

Code: Select all

/*
 * Automatically created by CMSimple_XH. DO NOT MODIFY!
 * elfinder_xh,fa,filebrowser,hi_updatecheck,jquery,meta_tags,morepagedata,pagemanager,page_params,tinymce4
 */


/****************************************************** ./assets/css/core.css */
...
/*** Messageboxes ***/
.upd_info, .upd_success, .upd_warning, .upd_error {
    min-width: 220px;
    max-width: 440px;
    display: inline-block;
    border: 1px solid;
    margin: 10px 0px;
    padding:15px 10px 15px 50px;
    background-repeat: no-repeat;
    /*background-position: 10px center;*/
    background-position: 10px 10px;
    -moz-border-radius:4px; /* Firefox */
    -webkit-border-radius:4px; /* Safari, Chrome */
    -khtml-border-radius:4px; /* Konqueror */
    border-radius:4px; /* CSS3 */
}
...
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.

Post Reply