Solved

HTML alignment

Posted on 2014-12-18
1
115 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

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…
Originally, this post was published on Monitis Blog, you can check it here . Websites are getting bigger and more complicated by the day. Video, images and custom fonts are all great for showcasing your product or service. But the price to pay in…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…
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).

617 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