Solved

HTML alignment

Posted on 2014-12-18
1
100 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 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now