Table Alignment Problem

Carlos's Avatar, Join Date: Dec 2008
Contributor
(ASP.NET 2.0 Version)
Hi! i have a little problem, but it is quite confusing. Whenever i write something in my table row it gathered to one side, either right or left, this like:

Hi! i have a little problem,
but it is quite confusing.
Whenever i write something
in my table row it gathered
to one side, either right or
left, this like.

However it should appear across the whole page
[IMG]file:///C:/Documents%20and%20Settings/Microsoft/My%20Documents/My%20Pictures/image.jpg[/IMG]
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
The problem is not with ASP but it looks like you need to work on your HTML tables.

Also image location is of your local machine and so we cannot see them and so upload it into some free image hosts and link here in post.

Moved thread to HTML forum
Carlos's Avatar, Join Date: Dec 2008
Contributor
Please! see the code, and i have linked the image.


HTML Code:
 <div>
        <table align="center" style="z-index: 101; left: 93px; position: absolute; top: 31px"
            width="560">
            <tr>
                <td align="right" style="width: 100%; height: 21px">
                    <asp:LoginName ID="LoginName1" runat="server" CssClass="boldtext" FormatString="Logged as: {0}! " />
                    &nbsp;
                </td>
            </tr>
        </table>
        <table style="z-index: 102; left: 91px; position: absolute; top: 60px">
            <tr>
                <td style="width: 100px">
                    <img src="images/images/quizstartingnow.gif" /></td>
            </tr>
            <tr>
                <td rowspan="1" style="width: 100px">
                </td>
            </tr>
            <tr>
                <td style="width: 100px" rowspan="4">
                    &nbsp;You are about to take the quiz.&nbsp; The quiz contains multiple choice style
                    questions.&nbsp; Complete each question from the drop down list box then select
                    the Next button.&nbsp; You will not be able to go back and change your answers once
                    you select the Next button, so choose carefully.<br />
                    <br />
                    When you are ready to begin, select the Start button below.</td>
            </tr>
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Width of your td is 100px and so its wrapping the text after that many pixels.
Carlos's Avatar, Join Date: Dec 2008
Contributor
Thanx alot!