473,386 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Need help formatting my html

I have the following list items to display details on an application. The item for proposal sometimes has lots of text which goes to a new line. The problem is that the new line always start underneath the label text and doesn't look correct. Is it possible to get the text to wrap around on the right hand side?

Expand|Select|Wrap|Line Numbers
  1. <li><div><span>Application Number</span><xsl:value-of select="APPLICATION_NUMBER" /></div></li>
  2.         <li><div><span>Site Address</span><xsl:value-of select="SITE_ADDRESS" />&nbsp;</div></li>
  3.         <li><div><span>Application Type</span><xsl:value-of select="APPLICATION_TYPE_DESCRIPTION" />&nbsp;</div></li>
  4.         <li><div><span>Development Type</span><xsl:value-of select="DEVELOPMENT_TYPES" />&nbsp;</div></li>
  5.         <li><div><span>Proposal</span><xsl:value-of select="PROPOSAL" />&nbsp;</div></li>
  6.         <li><div><span>Current Status</span><xsl:value-of select="STATUS_DESCRIPTION" />&nbsp;</div></li>
Here's a screenshot of what I mean:

Dec 8 '08 #1
4 1167
Dormilich
8,658 Expert Mod 8TB
you have tabular data here. use a table.

(you could (if you don't like tables) float the keyword and put a margin on the text)

regards
Dec 8 '08 #2
Markus
6,050 Expert 4TB
Please do not post questions in the 'insights' area of our HTML/CSS forum. The 'answers' area is the correct place to post questions.

Thanks,
Moderator.
Dec 8 '08 #3
clain
79
Use tables.. float can not fix it. you will jump into trouble if you use float. as you already have a text item in left .
Dec 9 '08 #4
numberwhun
3,509 Expert Mod 2GB
If you wanted to stay clear of tables (which would definitely work for your purposes), why not try implementing something similar to a tableless form using only css.

I don't have a working example, but its always worth a shot if you ask me.

Regards,

Jeff
Dec 9 '08 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

163
by: Shiperton Henethe | last post by:
Hi Know any good utilities to help me strip out the tags that Microsoft Excel 2002 leaved behind when you try and export an HTML format file? This is driving me NUTS. And really makes me...
8
by: Dimitri Furman | last post by:
Given: Access 2002/2003 A subform in datasheet or continuous view, placed on a tab page (this last may or may not matter) Conditional formatting applied to some controls on the subform - format...
10
by: Coleen | last post by:
Hi all :-) I have a weird formatting problem with an HTML table that I am populating using VB.Net and HTML. Here is the snippet of code for the cell I'm trying to format: Dim...
8
by: CM | last post by:
Hi, Could anyone please help me? I am completing my Master's Degree and need to reproduce a Webpage in Word. Aspects of the page are lost and some of the text goes. I would really appreciate it....
2
by: sorobor | last post by:
dear sir .. i am using cakephp freamwork ..By the way i m begener in php and javascript .. My probs r bellow I made a javascript calender ..there is a close button ..when i press close button...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.