473,471 Members | 1,696 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

indentation

Hi,

How can I indent columns like using <table> <tr> and <td>. This html
item is a tree menu, I need to add multi columns to each node wihtout
using <table> shown as follow:

List Status Date View Edit Cancel Delete

The list is where the treemenu is built. Since I found the <table> or
<tr> <td> stop the expand and collaps from working, I may be need to use
something else to indent the "columns". What s the best way to do that
in html?

Thanks
A
Mar 2 '06 #1
2 1658
Fri, 03 Mar 2006 02:11:51 +1100 from acord <ac***@telpacific.com.au>:
Hi,

How can I indent columns like using <table> <tr> and <td>. This html
item is a tree menu, I need to add multi columns to each node wihtout
using <table> shown as follow:

List Status Date View Edit Cancel Delete

The list is where the treemenu is built. Since I found the <table> or
<tr> <td> stop the expand and collaps from working, I may be need to use
something else to indent the "columns". What s the best way to do that
in html?


I thought I understood what you were asking, but on second reading I
don't.

(1) What's the URL of the existing page, the one that doesn't work as
you wish? What exactly is different from the way you want?

(2) It looks like yo in act have tabular data, a set of actions
possible for each item. If so, <table> _is_ what you want. Styling
tables to look right is why we have CSS.

(3) Have you validated your page? If not, see "Why we won't help
you" below.

--
Stan Brown, Oak Road Systems, Tompkins County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2.1 spec: http://www.w3.org/TR/CSS21/
validator: http://jigsaw.w3.org/css-validator/
Why We Won't Help You:
http://diveintomark.org/archives/200..._wont_help_you
Mar 2 '06 #2
hug
acord <ac***@telpacific.com.au> wrote:
Hi,

How can I indent columns like using <table> <tr> and <td>. This html
item is a tree menu, I need to add multi columns to each node wihtout
using <table> shown as follow:

List Status Date View Edit Cancel Delete

The list is where the treemenu is built. Since I found the <table> or
<tr> <td> stop the expand and collaps from working, I may be need to use
something else to indent the "columns". What s the best way to do that
in html?

Thanks
A


Tables are imo the proper mechanism to use for tabular data, and it
appears that you are displaying tabular data. If something is
building a tree-menu in a table cell, I would suggest that you fix
what is broken. I have PHP code that generates a tree menu in a table
cell and it works fine, there is nothing to my knowledge that
inherently breaks any kind of menu that you choose to place in a table
cell.

I suspect that you could use CSS to specify indentations for your
various columns, but it really does appear that you are presenting
tabular data and going to CSS for the layout of tabular data is imo
roughly equivalent to using tables for layout.

If you want to get specific about what the tree-menu looks like and
how it is breaking, perhaps I (or someone else) can help you with it.
If you are determined to use CSS for displaying tabular data perhaps
someone will be able to assist.

--
http://www.ren-prod-inc.com/hug_soft...action=contact
Mar 2 '06 #3

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

Similar topics

0
by: Magnus Lie Hetland | last post by:
Not many members on the Atox mailing list yet, so I'll venture a request here... In Atox 0.2, I've added support for indentation tokens (somewhat like the Python indentation scheme, but a bit...
147
by: Sateesh | last post by:
Hi, I am a beginner in Python, and am wondering what is it about the indentation in Python, without which python scripts do not work properly. Why can't the indentation not so strict so as to give...
177
by: C# Learner | last post by:
Why is C syntax so uneasy on the eye? In its day, was it _really_ designed by snobby programmers to scare away potential "n00bs"? If so, and after 50+ years of programming research, why are...
7
by: diffuser78 | last post by:
I am a newbie to Python. I am mainly using Eric as the IDE for coding. Also, using VIM and gedit sometimes. I had this wierd problem of indentation. My code was 100% right but it wont run...
9
by: John Salerno | last post by:
How do you make a single string span multiple lines, but also allow yourself to indent the second (third, etc.) lines so that it lines up where you want it, without causing the newlines and tabs or...
135
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about...
4
by: bearophileHUGS | last post by:
This is the best praise of semantic indentation I have read so far, by Chris Okasaki: http://okasaki.blogspot.com/2008/02/in-praise-of-mandatory-indentation-for.html A quotation: I have...
43
by: Bill Cunningham | last post by:
I have had several complaints by some people who wish to help me and I wish to get the problem straight. I wrote this small utility myself and added some indentation and I wonder if it is...
1
by: Eric S. Johansson | last post by:
in trying to make programming in Python more accessible to disabled programmers (specifically mobility impaired speech recognition users), and hitting a bit of a wall. The wall (for today) is...
19
by: Eric S. Johansson | last post by:
Almar Klein wrote: there's nothing like self interest to drive one's initiative. :-) 14 years with speech recognition and counting. I'm so looking to my 15th anniversary of being injured next...
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
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
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.