views:

19

answers:

1

I'm developing a Silverlight 4 app that has to live within an existing ASP/HTML based site, which has its own css stylesheet. I want the Silverlight app to share the look and feel of its container application, so I'm wondering about the best way to accomplish this. About the only way I can think of would be to translate the css styles into Silverlight styles (perhaps with an automated tool), but that seems like a lot of work for something that is a pretty common use case.

Is there a better way? Are there existing tools to make this easier? Thanks!

A: 

Creating Silverlight styles based on the styles of your site is a good idea. I don't know if there is an automated tool to do this, but your CSS would have to be very long and complex for that to be necessary.

You might consider modifying an existing Silverlight Theme to match your site.

Dave Swersky