Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / June 2008



Tip: Looking for answers? Try searching our database.

CSS validation, -moz extensions?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gentsquash@gmail.com - 25 Jun 2008 21:33 GMT
My CSS does not validate at
 http://jigsaw.w3.org/css-validator/

Attempting to validate, for example, my

 http://www.math.ufl.edu/~squash/course.advcal.2008t.html

produces (lightly edited)

/--------------------------------------------------------\
 URI : http://www.math.ufl.edu/~squash/CSS/jkall.css
 199 .BOOKEMF
     Property -moz-border-radius doesn't exist : 20pt

 URI : http://www.math.ufl.edu/~squash/CSS/jkselection.css
 20 The pseudo-element
    ::-moz-selection can't appear here in the context css21

 25 The pseudo-element
     ::selection can't appear here in the context css21

 30 The pseudo-element
     ::-moz-selection can't appear here in the context css21

 34 The pseudo-element
     ::selection can't appear here in the context css21
\________________________________________________________/

Running firefox on MacOS, it appears that
"-moz-border-radius" does indeed cause the borders to be
pleasantly rounded.

Q1: Is there a way I can change my code, and still have the
rounded borders (in browsers that support it) AND have the
CSS validate?  (E.g, should I be using a different DOCTYPE
      or a different validation service, or can the above
      validator take an "allow moz" parameter somehow?)

Q2:  As for the "pseudo-element ... can't appear here"
errors, my CSS is [reduced for posting]

   ::-moz-selection {background: #AF0078 }
   ::selection      {background: #AF0078 }
   code::-moz-selection { background: #333333 }
   code::selection { background: #333333 }

Are any of these considered correct for mozilla-derived
browsers   --and how can I get such to validate?

--Jonathan LF King    Mathematics dept, Univ. of Florida
Michael Vilain - 26 Jun 2008 00:08 GMT
In article
<3d382d8c-885f-4bf1-9538-eeaabbe6bebe@b1g2000hsg.googlegroups.com>,

> My CSS does not validate at
>   http://jigsaw.w3.org/css-validator/
[quoted text clipped - 46 lines]
>
>  --Jonathan LF King    Mathematics dept, Univ. of Florida

Apparently not with that validator unless you email the developer and
ask them to add the moz- extentions as an option.  Otherwise, you'll
just have to live with with these errors.  That's your call.

Signature

DeeDee, don't press that button!  DeeDee!  NO!  Dee...
[I filter all Goggle Groups posts, so any reply may be automatically by ignored]

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.