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

  • SEARCH
  • Home
  • 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 6748029
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:30:59+00:00 2026-05-26T12:30:59+00:00

I have a pretty strange HTML problem I have never experienced before. I have

  • 0

I have a pretty strange HTML problem I have never experienced before. I have been trying to solve it for way to long now, and the solution is probably jokinly simple!

To see my problem, see the following image:
Visual image of problem

As you can see, my table is positioned ~200-300 pixels below the user control with Navn and Besked, which it shouldn’t! It should be right below.

Now, let’s look at the rendered HTML code:

<!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><title>

</title>
<link href="Stylesheet/Styles.css" rel="stylesheet" type="text/css" /></head>
<body>
    <form name="aspnetForm" method="post" action="Forum.aspx" id="aspnetForm">
<div>
<input type="hidden" name="ctl00_toolkitScriptMaster_HiddenField" id="ctl00_toolkitScriptMaster_HiddenField" value="" />
<input type="hidden" name="__EVENTTARGET" id="__EVENTTARGET" value="" />
<input type="hidden" name="__EVENTARGUMENT" id="__EVENTARGUMENT" value="" />
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUJNTIxNzE4MTg1D2QWAmYPZBYCAgMPZBYCAgEPZBYCAgEPZBYCZg9kFgICAw8WAh4LXyFJdGVtQ291bnQCDBYYZg9kFgJmDxUEAjEyMmRnZHNmZyBkZyBzZ2ZkIGdmcyBnZiBzZ2Ygc2RmZyBkZmcgc2ZnIHNmZyBzZGZnIHNkATATMjctMTAtMjAxMSAyMjo0MzowMGQCAg9kFgJmDxUEAjEzMmRnZHNmZyBkZyBzZ2ZkIGdmcyBnZiBzZ2Ygc2RmZyBkZmcgc2ZnIHNmZyBzZGZnIHNkATATMjctMTAtMjAxMSAyMjo0MzowMGQCBA9kFgJmDxUEAjExUEplZyBlciBoZWx0IHRvc3NldCBtZWQgc2lkZW4gLSBKZWcgZXIgaGVsdCB0b3NzZXQgbWVkIHNpZGVuIC0gSmVnIGVyIGhlbHQgdG9zc2V0ATATMjEtMTAtMjAxMSAxMjo1ODowMGQCBg9kFgJmDxUEAjEwFGdmZ2Znc2RmZ3NkZmcNCmZzZw0KATATMDctMTAtMjAxMSAxNDozNTowMGQCCA9kFgJmDxUEATkUSSBhbSB0ZXN0aW5nIGEgbG90IHIBMBMwNy0xMC0yMDExIDE0OjMyOjAwZAIKD2QWAmYPFQQBOApkZmZkc2ZzZGZkATETMDUtMTAtMjAxMSAxOToxMDowMGQCDA9kFgJmDxUEATcGa2tra2trATETMDUtMTAtMjAxMSAxOToxMjowMGQCDg9kFgJmDxUEATYGZ2dnZ3Z2ATETMDUtMTAtMjAxMSAxNjo1NTowMGQCEA9kFgJmDxUEATQUZ2FmZ2dmDQpnZGdzZA0KZ2RnZA0BMBMwNS0xMC0yMDExIDE1OjExOjAwZAISD2QWAmYPFQQBMxZmc2Fnc2ZnYWdzwqhmZ3NnZnPCqGdhATATMDUtMTAtMjAxMSAxNDo1ODowMGQCFA9kFgJmDxUEATIUZGduZGlndSBzZm5nc3VmZ2lkZg0BMBMwNS0xMC0yMDExIDE0OjM0OjAwZAIWD2QWAmYPFQQBMRRkZm1zaW4gZmdpdXNkIG5mZ2RzZwEwEzA1LTEwLTIwMTEgMTM6NTg6MDBkGAEFI2N0bDAwJENvbnRlbnRQbGFjZUhvbGRlcjEkTXVsdGlWaWV3Dw9kZmRxugsmEjuyu2Xbo8gslsOLZkR+JQ==" />
</div>

<script type="text/javascript">
//<![CDATA[
var theForm = document.forms['aspnetForm'];
if (!theForm) {
    theForm = document.aspnetForm;
}
function __doPostBack(eventTarget, eventArgument) {
    if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
        theForm.__EVENTTARGET.value = eventTarget;
        theForm.__EVENTARGUMENT.value = eventArgument;
        theForm.submit();
    }
}
//]]>
</script>


<script src="/SubsiteClient/WebResource.axd?d=sMtxLdPlL48Rto8ujGKTrPMt4xS4q9IIukS7rw_b1-tVz_fuTpjK6WMO1fThkB6olwlijb7FXVNdBmSCc-lK1Shl0hg1&amp;t=634245478914809245" type="text/javascript"></script>


<script src="/SubsiteClient/ScriptResource.axd?d=NZ4L6OCv5Z3x50AgcnftYK7fWT6BUu-Gq9jE_2WxJYOCk37z40cpv_qqqs_kmnhvn-xJhbaCokNDxVy2NVY_RnuDRh65lmml8WfdO8As5iyIlncIhzm2AuDVtr7gMxdVp6sjIQ2&amp;t=3f0ccc7f" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
if (typeof(Sys) === 'undefined') throw new Error('ASP.NET Ajax client-side framework failed to load.');
//]]>
</script>

<script src="/SubsiteClient/ScriptResource.axd?d=kpRlnyM1WRVy01WEn268dCfASwQAVa4jAV4Il9tdk3TTDVNPN4573gSvatDFGaS5ZYad71zPZWE4sKnE-uZR-VV1VI822qRI8oqDgu6i1yLz2_BW_AitLtFZycD6RCMLUEQCBA2&amp;t=3f0ccc7f" type="text/javascript"></script>
<div>

    <input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWBAL339mjBQLWgqazCAKi/IGEDAL35sCPCXF2fOlt3NA/ZMTkI01Y4U+3xsAH" />
</div>
    <div class="BodyStyle">


            <a href="Default.aspx">Forsiden</a> 

                        <br /><br />
                 <hr />
  <h1>Hvad synes du om det nye</h1>






<b>Giv din mening om det nye</b><br /><br />
<span id="ctl00_ContentPlaceHolder1_GiveFeedbackControl1_StatusLabel" style="color:Red;"></span>

<p>(Evt. navn)<br />
    <input name="ctl00$ContentPlaceHolder1$GiveFeedbackControl1$NameBox" type="text" id="ctl00_ContentPlaceHolder1_GiveFeedbackControl1_NameBox" style="width:340px;" />
</p>

<p>Besked<br />
<textarea name="ctl00$ContentPlaceHolder1$GiveFeedbackControl1$FeedbackBox" rows="2" cols="20" id="ctl00_ContentPlaceHolder1_GiveFeedbackControl1_FeedbackBox" style="height:80px;width:340px;"></textarea>
</p>
<input type="submit" name="ctl00$ContentPlaceHolder1$GiveFeedbackControl1$GiveFeedbackBox" value="Giv feedback" id="ctl00_ContentPlaceHolder1_GiveFeedbackControl1_GiveFeedbackBox" />






             <table style="width:900px;">
                <tr> 
                    <td style="width:550px;"><b>Kommentar</b></td>
                    <td><b style="font-size:small;">Svar</b></td><td style="font-size:small; padding-left:7px;"><b>Sidste svar</b></td></tr>

                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=12'>
                        dgdsfg dg sgfd gfs gf sgf sdfg dfg sfg sfg sdfg sd...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;">0</td>
                    <td style="font-size:small; padding-left:7px;">27-10-2011 22:43:00
                    </td>
                    </tr>

                    <br />

                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=13'>
                        dgdsfg dg sgfd gfs gf sgf sdfg dfg sfg sfg sdfg sd...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;">0</td>
                    <td style="font-size:small; padding-left:7px;">27-10-2011 22:43:00
                    </td>
                    </tr>

                    <br />

                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=11'>
                        Jeg er helt tosset med siden - Jeg er helt tosset med siden - Jeg er helt tosset...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;">0</td>
                    <td style="font-size:small; padding-left:7px;">21-10-2011 12:58:00
                    </td>
                    </tr>

                    <br />

                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=10'>
                        gfgfgsdfgsdfg
fsg
...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;">0</td>
                    <td style="font-size:small; padding-left:7px;">07-10-2011 14:35:00
                    </td>
                    </tr>

                    <br />

                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=9'>
                        I am testing a lot r...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;">0</td>
                    <td style="font-size:small; padding-left:7px;">07-10-2011 14:32:00
                    </td>
                    </tr>

                    <br />

                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=8'>
                        dffdsfsdfd...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;">1</td>
                    <td style="font-size:small; padding-left:7px;">05-10-2011 19:10:00
                    </td>
                    </tr>

                    <br />

                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=7'>
                        kkkkkk...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;">1</td>
                    <td style="font-size:small; padding-left:7px;">05-10-2011 19:12:00
                    </td>
                    </tr>

                    <br />

                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=6'>
                        ggggvv...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;">1</td>
                    <td style="font-size:small; padding-left:7px;">05-10-2011 16:55:00
                    </td>
                    </tr>

                    <br />

                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=4'>
                        gafggf
gdgsd
gdgd
...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;">0</td>
                    <td style="font-size:small; padding-left:7px;">05-10-2011 15:11:00
                    </td>
                    </tr>

                    <br />

                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=3'>
                        fsagsfgags¨fgsgfs¨ga...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;">0</td>
                    <td style="font-size:small; padding-left:7px;">05-10-2011 14:58:00
                    </td>
                    </tr>

                    <br />

                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=2'>
                        dgndigu sfngsufgidf
...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;">0</td>
                    <td style="font-size:small; padding-left:7px;">05-10-2011 14:34:00
                    </td>
                    </tr>

                    <br />

                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=1'>
                        dfmsin fgiusd nfgdsg...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;">0</td>
                    <td style="font-size:small; padding-left:7px;">05-10-2011 13:58:00
                    </td>
                    </tr>


            </table>



    </div>
    <script type="text/javascript">
//<![CDATA[
Sys.WebForms.PageRequestManager._initialize('ctl00$toolkitScriptMaster', document.getElementById('aspnetForm'));
Sys.WebForms.PageRequestManager.getInstance()._updateControls([], [], [], 90);
//]]>
</script>



<script type="text/javascript">
//<![CDATA[
(function() {var fn = function() {$get("ctl00_toolkitScriptMaster_HiddenField").value = '';Sys.Application.remove_init(fn);};Sys.Application.add_init(fn);})();Sys.Application.initialize();
//]]>
</script>
</form>
</body>
</html>

Now, I don’t see how this could ever give that span.. If we look at the markup:

<h1>Hvad synes du om det nye</h1>

    <asp:MultiView ID="MultiView" runat="server">

        <asp:View ID="SubCategoryView" runat="server">

            <uc1:GiveFeedbackControl ID="GiveFeedbackControl1" runat="server" />


             <table style="width:900px;">
                <tr> 
                    <td style="width:550px;"><b>Kommentar</b></td>
                    <td><b style="font-size:small;">Svar</b></td><td style="font-size:small; padding-left:7px;"><b>Sidste svar</b></td></tr>
            <asp:Repeater ID="EntriesRepeater" runat="server">
                <ItemTemplate>
                    <tr><td style="width:550px; border-right:1px dotted #000000;">
                    <a href='ForumReader.aspx?entryid=<%#DataBinder.Eval(Container.DataItem,"EntryId") %>'>
                        <%#DataBinder.Eval(Container.DataItem, "Title")%>...
                    </a></td>
                    <td style="font-size:small; border-right:1px dotted #000000; text-align:center;"><%#DataBinder.Eval(Container.DataItem, "GetNumberofReplies")%></td>
                    <td style="font-size:small; padding-left:7px;"><%#DataBinder.Eval(Container.DataItem, "GetEntryLastPost")%>
                    </td>
                    </tr>
                </ItemTemplate>

                <SeparatorTemplate>
                    <br />
                </SeparatorTemplate>
            </asp:Repeater>

            </table>
        </asp:View>
    </asp:MultiView>

And for those who wonder, the user control doesn’t have some magic lower padding.

SO… What in the world am I not doing correct here? 😀

  • 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. Editorial Team
    Editorial Team
    2026-05-26T12:31:00+00:00Added an answer on May 26, 2026 at 12:31 pm

    I believe it’s being caused by bad formed HTML in your table.

    Your table HTML has <br /> tags between row elements. This shouldn’t be there. It looks like this:

    </tr>
    <br />
    <tr>
    

    It should be like this:

    </tr>
    <tr>
    

    Posting your whole code into a plain HTML file and I did get the extra spacing. Removing those
    tags in the table and it fixed the issue.

    I’m not familiar with APS much but I believe this is the code that’s putting the <br /> tags. Try remove it:

    <SeparatorTemplate>
        <br />
    </SeparatorTemplate>
    

    Hope that helps!

    Cheers!

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

Sidebar

Related Questions

This is a pretty strange problem. I have a book that I have been
I have a very strange problem. I'm making a pretty standard ajax-call with jQuery,
I have a pretty strange 'assembly' of an HTML file going on, with <script>
I have strange problem with the delay function here using the HTML function with
I am having some pretty strange symptoms with JPanels and CardLayout. Essentially, I have
I'm pretty new to web design and have recently been working on an amatuer
I have written some code that works pretty well, but I have a strange
I have been noticing some very strange usage of O(1) in discussion of algorithms
Some tasks in Ant have some pretty strange behavior. For example, javac silently ignores
I have run into a pretty strange error that I can't get my head

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.