Solved

HTML alignment

Posted on 2014-12-18
1
104 Views
Last Modified: 2014-12-19
Align HTMLHi ,

I have design a page . But the alignment is not coming correctly . I don't know why?

I changed the width size and all but it still show the above  check the attachment for more clarity

<td width="3%" class="label"><div title="analysis ">Status:
	</div></td>
<td width="24%" class="nonEdit"><div id="status"> &nbsp; <%= status %><input type="hidden" name="xx" value="<%= status %>"></div>
</td>

Open in new window



<tr>
<td width="7%" class="label"><div>xAT:</div></td>
<td width="21%" class="nonEdit"><div id="xAT"> &nbsp; <%= xAT %> <%= xxxx %></div></td>
</tr>

Open in new window

0
Comment
1 Comment
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 40508616
Create the table without the 'width' statements.  The browser will then automatically adjust the table for the size of the text.  The wrapping you are seeing is probably because there is not enough room for the elements to sit side by side.  If you later need to force % widths, you can add them back later.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question