Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

HTML alignment

Posted on 2014-12-18
1
Medium Priority
?
116 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 84

Accepted Solution

by:
Dave Baldwin earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

688 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