473,795 Members | 3,048 Online
Bytes | Software Development & Data Engineering Community
+ 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 1800
On 2 Apr 2004 06:49:14 -0800, te**********@ya hoo.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**********@y ahoo.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**********@ya hoo.com (Teknowbabble) wrote in message news:<c3******* *************** ****@posting.go ogle.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
2533
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() sorted_feature_vector.sort() #feature_vector.keys()=sorted_feature_vector
0
1312
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 Response.Write(" * Cookie Exists * ") If Not cookie.Values("culture") Is Nothing
7
1964
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 up at the very bottom of the page (unless content pushes it further down). But when the browser renders the page, its as if there was no height specified on the table, it all just shrinks up to the top of the page, as short as the content will...
1
1612
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 Id is "Panel1". I placed "<%=Panel1.ClientID %>" in my HTML code and I got "ctl00_pPanel1". In my Javascript function I am using:
2
957
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 mode and when I run it on my machine has a height of 175 and width of 190. When it runs on my client the height stays 175 but the width is 260. This is driving me crazy. Any ideas? Anything at all? Stacey
41
2316
by: Andy Dingley | last post by:
http://thedailywtf.com/forums/thread/74148.aspx
11
3103
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 of this table within a table is shifted slightly to the right. It's driving me crazy. Any help would be greatly appreciated. Here is the url and the code for the whole page: http://kittelbergerdesign.com/indextest.html <html> <head>...
1
1317
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 the middle frame, there should be a 4 column layout:
3
2284
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 which includes the function in order to allow me to call it from within a 4gl program. When i do this i get differences in the key that is produced????? This only happens when metahpone translates an x in a name. The stand
0
10215
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10165
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9043
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7541
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6783
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5437
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2920
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.