Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 96783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:52:46+00:00 2026-05-10T23:52:46+00:00

I have an aspx page with 1 table containing 2 rows: <!DOCTYPE html PUBLIC

  • 0

I have an aspx page with 1 table containing 2 rows:

<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>  <html xmlns='http://www.w3.org/1999/xhtml'>     <head>         <style>         html, body          {              height: 100%;          }          </style>     </head>     <body>         <form id='form1' runat='server'>             <div>                 <asp:ScriptManager ID='ScriptManager1' runat='server'>                 </asp:ScriptManager>                 <table style='height:100%; width:100%'>                     <tr>                         <td>                                             <img src='img/Logo.png' />                         </td>                     </tr>                     <tr>                         <td style='height:100%;'>                                                  <asp:Silverlight                                  ID='sllUI'                                  runat='server'                                  Source='~/ClientBin/My.Silverlight.UI.xap'                                  MinimumVersion='2.0.31005.0'                                  Width='100%'                                  Height='100%'                                 OnPluginLoaded='sllUI_OnPluginLoaded'                                 PluginBackground='Transparent'                                 Windowless='true'>                                     </asp:Silverlight>                         </td>                     </tr>                 </table>                                         </div>         </form>     <body> </html> 

The table fills the page correctly, and the bottom row fills grows to the remaining height of the table that the top row doesn’t fill, which is what I want. The problem is that the silverlight control takes on the height of the page, not the height of the row that it is in, which causes my page to get scroll bars because the top of the silver light control is at the top of the row it’s in, but it’s hight is 100% of the browser. I don’t know if this is caused by my html or by silverlight. All my silverlight user controls are set to auto height & width. I’ve also tried using divs instead of the table and I get the same result. How can I fix this?

I’ve found that (at least in IE7) the doctype I’ve specified causes it to use standards mode IE6, but if I take the doctype out it goes into quirks mode IE5 (I find the mode by using DebugBar v5.1.1). Quirks mode causes it to display properly, but I think I’d rather avoid quirks mode if I can get the display correct in standard mode.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T23:52:46+00:00Added an answer on May 10, 2026 at 11:52 pm

    Try removing the ‘Height’ and ‘Width’ properties in your control, if you’ve defined the internal XAP’s height and width correctly to scale (i.e. you’ve used ‘Auto’), then it should respect what DOM boundaries it’s contained within on the page.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 70k
  • Answers 70k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer Example 3 is termed a derived table, but you can… May 11, 2026 at 1:06 pm
  • added an answer I've done this before using the standard SQL sorting syntax.… May 11, 2026 at 1:06 pm
  • added an answer Set a flag when a MouseDown event occurs, storing the… May 11, 2026 at 1:06 pm

Related Questions

I have an aspx page with 5 listboxes. Each listbox can filter the other
I have an aspx page with a gridview. In my page load event, I
Let's say I have an aspx page with this calendar control: <asp:Calendar ID=Calendar1 runat=server
(Warning - asp newbie) I have an aspx file with the tag <%@ Page
I have an aspx page that uses a master page. On this page I
In an ASP.NET 3.5 application, I have created an ashx handler as below: using

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.