How do you fix the Silverlight application shift that occurs in the Firefox browser?
- by Roy
Hi,
Currently I have an Silverlight application that when run on Firefox browser (ver 3.6) the entire contents of the Silverlight application shifts a little, and also the scrollbars on both the bottom and the side appear when I first use it. This does not happen in IE 8. How can I fix this in Firefox so it doesn't happen? The project type I created was the "Silverlight 3 Application + Website" via Expression Blend 3. This the code I am using in my MainPage.xaml:
<UserControl
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="StackoverflowExample.MainPage"
Width="640" Height="480">
<Grid x:Name="LayoutRoot" Background="Green">
<Rectangle Fill="#FFBB2020" Stroke="Black" Margin="155,58,266,178"/>
<Button Margin="199,180,302,236" Content="Button"/>
</Grid>
</UserControl>