locked
Dispose two silveright application into the same html page RRS feed

  • Question

  • Hi guys, I've created two silverlight applications (named app1 and app2). I've also modified the html page in order to load both applications. Now I would dispose them in a precise layout. For example, app1 goes in the first column and app2 goes in the second one. app2 has fixed dimensions (300px), app1 hasn't fixed dimensions.

    How can I do to fix the layout? CSS, Javascript? Any suggestions?

    Thank you.

    Thursday, April 8, 2010 10:49 AM

Answers

  • This is not Silverlight specific. This has to do with laying out the Silverlight object tags within some kind of container. For HTML/Web 2.0 best practices you should use div tags+CSS. If you go on google and look up div tags aligned horizontally you will get a bunch of techniques. Since your left Silverlight object is 300px you can have that float left at a fixed size and then have the other one take the rest of the space in a div.
    Thursday, April 8, 2010 12:19 PM