prestomation
prestomation

Reputation: 7440

Silverlight and HTML DOM

Ok, so this question probably isn't Silverlight specific. I have a silverlight 2 page that is stretched, it always fills the browser window. I am overlaying a DIV onto Silverlight, which is working great.

My problem is, the div tag causes empty space below my control, even though the content itself is overlaying the Silverlight control. The end result of this is that there is always a scroll bar in the browser!

How do I get rid of that blank space?

Thanks in advance

Upvotes: 0

Views: 127

Answers (1)

Tim Hoolihan
Tim Hoolihan

Reputation: 12396

did you try adding the following to your css

div#MySilverLightDiv {    /*change MySilverLightDiv to id of your div */
   overflow: hidden;
}

Upvotes: 1

Related Questions