473,404 Members | 2,195 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,404 software developers and data experts.

lists in tables

Jim
A simple list element wraps so that the text on the second
displayed line lines up with the text on the first line; e.g.,

<ul>
<li>Many, many, many, many, ... words

looks like

o Many, many, many, ...
many words

(e.g., if you view this post with a monospace font).

If this same list is in a table, the text wraps to align with the
bullet:

<table>
<tr>
<ul>
<td>
<li>Many, many, many, many, ... words

looks like

o Many, many, many, ...
many words

Is there a way to get a list in a table to have lines after the
first indent, as a list not in a table does?

Thanks,
Jim
Jul 23 '05 #1
3 1249
Jim wrote:
<table>
<tr>
<ul>
<td>
<li>Many, many, many, many, ... words

looks like

o Many, many, many, ...
many words

Is there a way to get a list in a table to have lines after the
first indent, as a list not in a table does?


Put the ul element's tags inside the td element's tags, not the other
way around.
Jul 23 '05 #2
Jim wrote:

Is there a way to get a list in a table to have lines after the
first indent, as a list [...]?

Yes.
<table><tr><td>
<ul>
<li>Many, many, many, many, ... words

--
jmm dash list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Jul 23 '05 #3
Jim
Leif K-Brooks <eu*****@ecritters.biz> wrote in
news:2s*************@uni-berlin.de:
Put the ul element's tags inside the td element's tags, not the
other way around.
jmm-list-gn <jm***************@sohnen-moe.com> wrote in
news:bp********************@giganews.com:
<table><tr><td>
<ul>
<li>Many, many, many, many, ... words


Thank you, both. I could have sworn that I tried that (ul after td)
but obviously I didn't, since that works.

Thanks again,
Jim
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Narendra C. Tulpule | last post by:
Hi, if you know the Python internals, here is a newbie question for you. If I have a list with 100 elements, each element being a long string, is it more efficient to maintain it as a dictionary...
9
by: Dave H | last post by:
Hello, I have a query regarding definition lists. Is it good practice semantically to use the dt and dd elements to mark up questions and answers in a frequently asked questions list, or FAQ? ...
41
by: Odd-R. | last post by:
I have to lists, A and B, that may, or may not be equal. If they are not identical, I want the output to be three new lists, X,Y and Z where X has all the elements that are in A, but not in B, and...
0
by: gerry | last post by:
I want to populate list boxes in an ASP page from ms access lookup lists, (lists only not separate tables). I don't want to create separate tables for these lists, as they are only 'headings' and...
0
by: Anthony | last post by:
So I've got three dropdowns in a datagrid footer (to add records). I need them to cascade, in the first one I have three choices, in the second one I have anywhere from 3 to 10 choices, depending...
3
by: Thomas Beyerlein | last post by:
I am writing code for a list box editor, one of the lists is large was hoping that there is a way to either speed it up by making the server do the IF statements of there is a faster way of...
1
by: vincemoon | last post by:
Sites such as download.com, dealtime.com, shopping.com, and tucows.com, feature impressive sortable lists of products. What software that imports CSV can be used to generate database-driven...
10
by: Richard Maher | last post by:
Hi, Sorry if this is one of those issues that people feel passionate about and I assure you I'm not trolling but rather seeking guidance on which way to go with the web browser presentation of...
1
by: lisav | last post by:
Hi, I recently started a new project as a junior. Everything is running under Visual studio 2005 and sql express 2005. I have created a database model and now i need to develop the following . ...
33
by: Andreas Prilop | last post by:
To get bold numbers in ordered lists, one can write ol { font-weight: bold } ol span { font-weight: normal } <ol> <li><span>......</span></li> <li><span>......</span></li> </ol>
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: 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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.