473,486 Members | 1,910 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Table Layout Driving Me Crazy...

Hi All...

Ive done several simple web pages, no biggy!

Is there any way to layout a Table with lets say 3 columns and have
the contents of those columns not have to fit the rigid row column
standard of setting up tables.

Basically all I want to do is fill up column one, then column 2, and
then column 3. Each column has its spacing.

Doing rowspan and colspan in tables and then having to line them all
up is a pain of the highest order. Ive done it but trying to get
paragraphs in column 2 to justify (like example below) is impossible.

If you know how, point me in the right direction.

I know cascade style sheets has display:box layout. I couldnt get it
to work.

Any ideas would be helpful.

TIA
Teknowbabble
************************************************** **********************
* * * *
* About * In this column we have * column 3 *
* Website * a discussion about this * *
* * that and the other thing. * blah *
* * Basically what you see * *
* * here is much about nothing * blah blah *
* * and more of the same if * *
* * you wish to know more of * uhhh haaa *
* * nothing then please by all * *
* Topic * means stay tuned. * yaaa yaaa *
* One * * *
* * * *
* * On the other hand there is * sure sure *
* * much to be said about * *
* * nothing especially those * no really *
* * who know of nothing. * *
* * * so on *
* Topic * * *
* Two * * yak yak *
* * * *
* * * *
************************************************** **********************
Jul 20 '05 #1
4 1785
On 2 Apr 2004 06:49:14 -0800, te**********@yahoo.com (Teknowbabble)
wrote:
Is there any way to layout a Table with lets say 3 columns and have
the contents of those columns not have to fit the rigid row column
standard of setting up tables. <snip>
************************************************* ***********************
* * * *
* About * In this column we have * column 3 *
* Website * a discussion about this * *
* * that and the other thing. * blah *
* * Basically what you see * *
* * here is much about nothing * blah blah *
* * and more of the same if * *
* * you wish to know more of * uhhh haaa *
* * nothing then please by all * *
* Topic * means stay tuned. * yaaa yaaa *
* One * * *
* * * *
* * On the other hand there is * sure sure *
* * much to be said about * *
* * nothing especially those * no really *
* * who know of nothing. * *
* * * so on *
* Topic * * *
* Two * * yak yak *
* * * *
* * * *
************************************************* ***********************


It's pretty unclear what the problem is. If you really want to have a
table-based layout, isn't this just a single row of three cells?

OTOH if your problem is "not have to fit the rigid row column standard
of setting up tables" then it sounds like you want CSS. A CSS layout
with the side columns floated left and right respectively would (on the
information available) be just as simple.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #2
On 2 Apr 2004 06:49:14 -0800, Teknowbabble <te**********@yahoo.com> wrote:
Hi All...

Ive done several simple web pages, no biggy!
Hehehehe...
Is there any way to layout a Table with lets say 3 columns and have
the contents of those columns not have to fit the rigid row column
standard of setting up tables.

Basically all I want to do is fill up column one, then column 2, and
then column 3. Each column has its spacing.
Ok. Where does the column break? Dividing content in thirds? You need to
indicate where that is, the browser doesn't measure your content in that
way. But by your example below, it seems you want something different...
Doing rowspan and colspan in tables and then having to line them all
up is a pain of the highest order. Ive done it but trying to get
paragraphs in column 2 to justify (like example below) is impossible.

If you know how, point me in the right direction.


I would do this.

<div id="content">
Center stuff
</div>
<div id="about">
About column
</div>
<div id="blah">
The blah column - replace the id with what actually describes its content
</div>

(You could put these divs in any order, but the style might have to change
a bit)

And the style would be something like:

#content {
margin: 0 15em;
text-align: justify;
}

#about, #blah {
position: absolute;
width: 14em;
top: 0;
}

#blah {
right: 0;
}
Jul 20 '05 #3
Teknowbabble wrote:
Hi All...

Ive done several simple web pages, no biggy!

Is there any way to layout a Table with lets say 3 columns and have
the contents of those columns not have to fit the rigid row column
standard of setting up tables.

Basically all I want to do is fill up column one, then column 2, and
then column 3. Each column has its spacing.

Doing rowspan and colspan in tables and then having to line them all
up is a pain of the highest order. Ive done it but trying to get
paragraphs in column 2 to justify (like example below) is impossible.

[snip]

I don't understand from your diagram & description what you are trying to
achieve. What are you trying to "line up"? Why can't you have a 1-row 3-column
table and just treat each column independently of the others?

Or are you trying to have automatic overflow from one column to the next
according to the amount of content? If so, then this is very tricky indeed,
and there is dispute about whether it is a good effect for users.

If you have a number of topics, and each one is to have a row across the 3
columns, then you have a 3 by N tables, without rowspan & colspan.

A better description, or a URL to an example web page, would help.

--
Barry Pearson
http://www.Barry.Pearson.name/photography/
http://www.BirdsAndAnimals.info/
http://www.ChildSupportAnalysis.co.uk/
Jul 20 '05 #4
te**********@yahoo.com (Teknowbabble) wrote in message news:<c3**************************@posting.google. com>...
Hi All...

Ive done several simple web pages, no biggy!

Is there any way to layout a Table with lets say 3 columns and have
the contents of those columns not have to fit the rigid row column
standard of setting up tables.

Basically all I want to do is fill up column one, then column 2, and
then column 3. Each column has its spacing.

Doing rowspan and colspan in tables and then having to line them all
up is a pain of the highest order. Ive done it but trying to get
paragraphs in column 2 to justify (like example below) is impossible.

If you know how, point me in the right direction.

I know cascade style sheets has display:box layout. I couldnt get it
to work.

Any ideas would be helpful.

TIA
Teknowbabble
************************************************** **********************
* * * *
* About * In this column we have * column 3 *
* Website * a discussion about this * *
* * that and the other thing. * blah *
* * Basically what you see * *
* * here is much about nothing * blah blah *
* * and more of the same if * *
* * you wish to know more of * uhhh haaa *
* * nothing then please by all * *
* Topic * means stay tuned. * yaaa yaaa *
* One * * *
* * * *
* * On the other hand there is * sure sure *
* * much to be said about * *
* * nothing especially those * no really *
* * who know of nothing. * *
* * * so on *
* Topic * * *
* Two * * yak yak *
* * * *
* * * *
************************************************** **********************


Thank You All !!! Appreciate the input.

I ended up using CSS absolute positioning within the <DIV> tag. That seemed
to do the trick! Thanks.

Of course that has opened up its own can of worms, but as far as the end
result Ive been pleasantly surprised. Its a lot less brain intensive than
HTML tables.

Ive had a hard time getting vertical alignment properties to work. Also Ive
even had to use <center></center> tags when inline styling didnt work.
Weird stuff, but I guess CSS is still in the development/refinement stages
so I cant complain. Whatever kludges it takes to get the job done, thats
fine with me.

Thanks again.

Teknowbabble :D
Jul 20 '05 #5

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

Similar topics

4
2514
by: dont bother | last post by:
This is really driving me crazy. I have a dictionary feature_vectors{}. I try to sort its keys using #apply sorting on feature_vectors sorted_feature_vector=feature_vectors.keys()...
0
1300
by: Shapper | last post by:
Hello, I have this code in Global.asax: Sub Session_Start(Sender As Object, E As EventArgs) Dim cookie As HttpCookie = Request.Cookies("MyCookie") If Not cookie Is Nothing Then...
7
1951
by: Arthur Dent | last post by:
I am completely baffled... i cannot for the life of me get the HEIGHT style to work on a table in the new 2005-supported XHTML. I put a HEIGHT: 100% on my table so that my footer row will also show...
1
1596
by: Miguel Dias Moura | last post by:
Hello, I have been trying, for days, to retrieve a control's ClientId in a javascript function. I am using a master page and this is why I need to retrieve the Control's ClientId. The control...
2
950
by: Stacey | last post by:
I have an application that has been designed for 600x800. The app is non sizeable, yet when I run it on certain machines, the layout is changed. For instance. I have a picture box that in design...
41
2266
by: Andy Dingley | last post by:
http://thedailywtf.com/forums/thread/74148.aspx
11
3078
by: designkitt | last post by:
Hello, I am having a problem aligning a cell in a table and have tried everything I can think of to correct this without any luck: It appears that the white area, which is an image in the background...
1
1302
by: soeter04 | last post by:
Hey there, I'm having trouble with an (at first sight) easy layout: Basic layout: 3 rows: - top bar (fixed height) - middle frame (max height between bars) - bottom bar (fixed height) In...
3
2266
by: rashpal.sidhu | last post by:
Please help, this problem is driving me crazy !! I am using metaphone to create phonetic keys. When i run the module stand-a-lone it works fine. I'm trying to create a runner for informix...
0
7094
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
6964
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
7123
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
7173
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...
1
6839
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
3066
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3070
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
598
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
259
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.