Its more likely the fault of the YUI component than CSS.
The YUI stuff uses a fair amount of hacks to get their things working cross
browser - so.. its one of those things where validation of those rules
doesn't matter.
CSS 2 will never be elegant - it has to be handled in a sub par fashion.
Even when its done well its hacky, or conditionally included - or doesnt
look the same between different browsers.
The important thing for me is generally markup - if the markup rocks I am
preparing for a future without CSS 2 :).
Rgds
Ned
Stefan Simik wrote:
>
> Hi boys,
>
> Firefox reports some CSS error (in Error console) when using YUI date
> picker.
>
> The problematic file is:
> -----------------------------------------------------
> http://<server>/resources/org.apache.wicket.extensions.yui.YuiLib/calendar/assets/skins/sam/calendar.css
>
> Version of the CSS file is 2.4.1. (taken from license header in source
> file)
>
>
> There many types of error -
> -----------------------------------------------
> - Warning: Unknown property '_width'. Declaration dropped.
> - Warning: Unknown property '_height'. Declaration dropped.
> - Warning: Unknown property '_overflow'. Declaration dropped.
> - Warning: Expected declaration but found '*'. Skipped to next
> declaration.
>
>
> When I checked the errors - the reported errors really existed.
> Here are some of buggy parts, I found in CSS:
>
>
> Example 1 - here is really unknown CSS property "_overflow"
> ---------------------
> .yui-calcontainer{position:relative;float:left;_overflow:hidden;}.yui-calcontainer
>
>
> Example 2 - here is really * without space between the selector and its
> rules
> --------------------
> button{display:block;*display:inline-block;*overflow:visible;border:none;background-color:transparent;cursor:pointer;}
>
>
> Do you find, this is a real problem, or it is probably some sort of local
> problem in my application only ?
>
>
>
>
>
>
--
View this message in context:
http://www.nabble.com/DatePicker---CSS-errors-tp16834841p16839615.html
Sent from the Wicket - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]