Click here to Skip to main content
11,577,721 members (59,831 online)
Rate this: bad
Please Sign up or sign in to vote.
See more: C# Silverlight
Hi guy's ,
i have created one silverlight app and and i want to set z-index property in style of html object tag in aspx page which display silverlight xamp file.

please help me.
thanx in advance
Posted 6-Aug-12 22:31pm
Edited 7-Aug-12 18:23pm
Christian Amado at 7-Aug-12 9:37am
Can you rebuild your question? I don't understand it.
Kenneth Haugland at 8-Aug-12 0:34am
Silverlight resides in a html wrapper, and I dont know why that z-index direction sould bother you, html content could be laid directly over a Silverlight browser. The other way around is more difficult though.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Add the below code in head section of your aspx page
<style type="text/css">

The zIndex property sets or returns the stack order of a positioned element.
An element with greater stack order (0) is always in front of another element with lower stack order (-1).

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Peter Leow 180
1 DamithSL 170
2 Richard MacCutchan 125
3 OriginalGriff 115
4 Abhinav S 100
0 OriginalGriff 820
1 Sergey Alexandrovich Kryukov 681
2 Abhinav S 528
3 F-ES Sitecore 420
4 Suvendu Shekhar Giri 375

Advertise | Privacy | Mobile
Web04 | 2.8.150603.1 | Last Updated 8 Aug 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100