This is a migrated thread and some comments may be shown as answers.

CSS Validation

1 Answer 90 Views
Slider
This is a migrated thread and some comments may be shown as answers.
John Colclough
Top achievements
Rank 1
John Colclough asked on 09 Feb 2011, 03:56 PM
Hi, I've searched for the validation term and i'm finding nothing in the results. Is the slider css valid? I'm using a default skin and it will not validate using the w3c validation page, I'm xhtml valid but would like to add the css validation.

This is a Sitefinity based site that I've just uploaded a couple of weeks back, although I do also have the Premium collection independently, the url if a Telerik member of staff would like to use the w3c validation service is at http://www.oaksoft.co.uk to view the results, the errors are virtually all linked to the radslider, I believe,

thanks for any assistance you can give,
regards,
John C.

P.S. Please forgive the freaky amount of time my site takes to load, asp.net is cycling down and taking around 40 seconds to spool back up, the site is quick thereafter, I'm talking to my hoster re this matter...

1 Answer, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 15 Feb 2011, 05:58 PM
Hello JOHN COLCLOUGH,
In this case, I would recommend that you create a custom skin for the slider control and use this skin, instead of the built in one. All errors that the service reports are result of browser-specific CSS properties, used in the common style sheet of the slider control. Additional information on our built-in skins is available in our online documentation - http://www.telerik.com/help/aspnet-ajax/howskinswork.html.

As all errors are in the base style sheet of the slider, you can actually create only a custom base style sheet with the necessary modifications. You can use the following steps to apply your custom base style sheet:
  1. Create a custom base style sheet, based on the built-in one.
  2. Set EnableEmbeddedBaseStylesheet to false - that property tells the slider not to load its embedded base style sheet.
  3. Register your custom base style sheet in the HEAD of your page

All the best,
Tsvetie
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Slider
Asked by
John Colclough
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Share this question
or