User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Site Layout and Usability section within the Web Development category of DaniWeb, a massive community of 423,018 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,001 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Site Layout and Usability advertiser: Programming Forums
Views: 2251 | Replies: 8
Reply
Join Date: Sep 2006
Location: Ontario Canada
Posts: 8
Reputation: msmitch is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
msmitch msmitch is offline Offline
Newbie Poster

Help help with tables, please help?

  #1  
Sep 26th, 2006
This is probably a really dumb question, but I just don't know what to do. Using Dreamweaver Mx I'm trying to create a page using tables. I lay out the page with the needed columns and rows. The top of my page consists of a row with three columns. No problem there, but when I go to the next row I can't move the columns. They remain lined up with the ones in the first row. How can I correct this?
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2006
Location: Glenelg, Adelaide
Posts: 229
Reputation: DavidRyan is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 11
DavidRyan's Avatar
DavidRyan DavidRyan is offline Offline
Posting Whiz in Training

Re: help with tables, please help?

  #2  
Sep 26th, 2006
Sounds like you have one single table with three columns. Have you tried making another table for the row with a different number of columsn?
Please anyone, correct me if I am wrong. It is the best way for me to learn.
Reply With Quote  
Join Date: Sep 2006
Location: Ontario Canada
Posts: 8
Reputation: msmitch is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
msmitch msmitch is offline Offline
Newbie Poster

Re: help with tables, please help?

  #3  
Sep 26th, 2006
Yes I did try that, or think that is what I did. I created a table for the banner, then created a separte table for the body of my page. But doing so it left a large space from my top banner???
Reply With Quote  
Join Date: Nov 2005
Location: Mostar
Posts: 88
Reputation: ManicCW is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 10
ManicCW's Avatar
ManicCW ManicCW is offline Offline
Junior Poster in Training

Re: help with tables, please help?

  #4  
Sep 28th, 2006
Create Main table with (example) two rows and three columns. Then merge columns in second row and insert new table in that row. That should do it.

Btw. I recomend using div tags for layout and tables just for tabular data.
Reply With Quote  
Join Date: Jun 2004
Posts: 210
Reputation: cmills83 is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 0
cmills83 cmills83 is offline Offline
Posting Whiz in Training

Re: help with tables, please help?

  #5  
Oct 3rd, 2006
yeah looks like you need to get into nested tables...headache, learn CSS once you are familiar enough with HTML. Here's what it should look like:

[html]<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><table cellpadding="0" cellspacing="0" border="0"><tr><td>Col. 1</td><td>Col 2</td></tr></table>
</td>
</tr>
<tr>
<td><table cellpadding="0" cellspacing="0" border="0"><tr><td>Only one col.</td></tr></table>
</td></tr></table>[/html]

not the greatest code but should give you an idea otherwise, as stated above your cells in a single table will line up.
Last edited by tgreer : Oct 3rd, 2006 at 9:48 am. Reason: Placed code in code tags.
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 4
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: help with tables, please help?

  #6  
Oct 18th, 2006
spanning wouls surely help you. if you still have problem try using CSS
Reply With Quote  
Join Date: Oct 2005
Location: Northampton UK
Posts: 1,142
Reputation: roryt will become famous soon enough roryt will become famous soon enough 
Rep Power: 6
Solved Threads: 9
roryt's Avatar
roryt roryt is offline Offline
Veteran Poster

Re: help with tables, please help?

  #7  
Oct 26th, 2006
Originally Posted by ManicCW View Post
Create Main table with (example) two rows and three columns. Then merge columns in second row and insert new table in that row. That should do it.

Btw. I recomend using div tags for layout and tables just for tabular data.


That's how it is done but do try CSS. The only way to set out a page well with tables is by using nested tables so you should really have a go with that.
Reply With Quote  
Join Date: Jul 2007
Posts: 110
Reputation: Taffd is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
Taffd Taffd is offline Offline
Junior Poster

Re: help with tables, please help?

  #8  
Sep 21st, 2007
I used tables for for the design of my site which includes a lot of tabular data aswell. If you are going to insist on tables for layout, then nested tables will do what you want.
It is however, considered by some, to be very bad form to use tables for layout. I am redsigning using css.
I was confused at first with css. Mostly because css styles can be used on a page but also called from an external style sheet. For me, the important first step was understanding the seperation. Next, the layout is done on the page with div tags, blocks, etc, each being given a name such as 'div header', 'div footer'. The style sheet contains the style info for each of these named layout areas, aswell as styling for tables text, in fact everything on the page.
I suggest setting aside 2 or 3 days and following a tutorial on css. Not just reading it but actually doing it. Include in your research a complete view of css at w3schools. Once you've grasped the idea and realised what you can do with css, it is only necessary to decide exactly what you want on your page. Building the style sheet is then a swift process. Providing you set a style for everything on the page it doesn't really matter what styles you apply initially because they're so easy to change. I'll try and find the link to the tutorial I used and post it later.
Reply With Quote  
Join Date: Oct 2006
Location: India
Posts: 1,289
Reputation: vishesh is on a distinguished road 
Rep Power: 4
Solved Threads: 32
vishesh's Avatar
vishesh vishesh is offline Offline
Nearly a Posting Virtuoso

Re: help with tables, please help?

  #9  
Sep 21st, 2007
Originally Posted by Taffd View Post
I used tables for for the design of my site which includes a lot of tabular data aswell. If you are going to insist on tables for layout, then nested tables will do what you want.
It is however, considered by some, to be very bad form to use tables for layout. I am redsigning using css.
I was confused at first with css. Mostly because css styles can be used on a page but also called from an external style sheet. For me, the important first step was understanding the seperation. Next, the layout is done on the page with div tags, blocks, etc, each being given a name such as 'div header', 'div footer'. The style sheet contains the style info for each of these named layout areas, aswell as styling for tables text, in fact everything on the page.
I suggest setting aside 2 or 3 days and following a tutorial on css. Not just reading it but actually doing it. Include in your research a complete view of css at w3schools. Once you've grasped the idea and realised what you can do with css, it is only necessary to decide exactly what you want on your page. Building the style sheet is then a swift process. Providing you set a style for everything on the page it doesn't really matter what styles you apply initially because they're so easy to change. I'll try and find the link to the tutorial I used and post it later.
The thread is almost a year old and there is no point to put it at top of forum.
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Site Layout and Usability Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Site Layout and Usability Forum

All times are GMT -4. The time now is 4:12 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC