Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 04-11-2018 07:00:12

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

CSS Errors

I know it's a bit pedantic but a few CSS errors reported by w3c. Can you confirm corrections for media\skins\css\all.min.css :

1040 .kthemeinvert .ktip  Parse Error  6px solid transparent;

I assume it must be border-left: so

.kthemeinvert .ktip {color: #000000; background-color: #F4F4F4; 6px solid transparent; border-right: 6px solid transparent;}

becomes

.kthemeinvert .ktip {color: #000000; background-color: #F4F4F4; border-left: 6px solid transparent; border-right: 6px solid transparent;}

Not sure about the other two:

1067 .kflex  Value Error : display box is not a display value :  box   
.kflex {display: block; display: box; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex;}

1102 .kgrid2col, .kgrid3col, .kgridsep, .kgridcol  Value Error : display box is not a display value :  box 
.kgrid2col, .kgrid3col, .kgridsep, .kgridcol {display: block; display: box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex;}

Last edited by sdn (04-11-2018 08:42:24)


Simon

Offline

 

#2 04-11-2018 08:17:20

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: CSS Errors

The error on line 1040 (ktip) should be fixed, but I have to test what the fix is.   I think removal of the extra '6px solid transparent; ' is what I'm going to try first.

The errors on lines 1067 and 1102 are expected, and are there for backwards compatibility.  display:box was part of the original 2009 flexbox spec, and is implemented on some very old browsers.  So old, in fact, that you may be able to remove that and nobody will ever have an issue.  It will be left in the stock CSS, though.


Nick Hendler

Offline

 

#3 04-18-2018 01:34:04

sdn
Member
From: UK
Registered: 05-29-2007
Posts: 882

Re: CSS Errors

Did you manage to work out the correct fix?


Simon

Offline

 

#4 04-18-2018 07:44:03

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: CSS Errors

That whole block can be simplified/changed to:

Code:

.kthemeinvert .ktip {color: #000000; background-color: #F4F4F4;}
.kthemeinvert .ktip:after {border-top: 6px solid #F4F4F4;}
.kthemeinvert .ktip.ktiptop:after {border-bottom: 6px solid #F4F4F4;}

This change will be in update 9.0.3.


Nick Hendler

Offline

 

Board footer