Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Web Design, HTML And CSS Forums (http://www.go4expert.com/forums/web-design-forum/)
-   -   Table Alignment Problem (http://www.go4expert.com/forums/table-alignment-problem-t15741/)

Carlos 6Jan2009 19:56

Table Alignment Problem
 
(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 6Jan2009 20:13

Re: Alignment Problem
 
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 7Jan2009 04:52

Re: Table Alignment Problem
 
Please! see the code, and i have linked the image.
http://img388.imageshack.us/img388/82/image1uz4.png

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 7Jan2009 09:27

Re: Table Alignment Problem
 
Width of your td is 100px and so its wrapping the text after that many pixels.

Carlos 7Jan2009 18:27

Re: Table Alignment Problem
 
Thanx alot!


All times are GMT +5.5. The time now is 22:36.