•
•
•
•
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 425,928 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 1,689 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: 2256 | Replies: 8
![]() |
•
•
Join Date: Sep 2006
Location: Ontario Canada
Posts: 8
Reputation:
Rep Power: 0
Solved Threads: 0
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?
•
•
Join Date: Jul 2006
Location: Glenelg, Adelaide
Posts: 229
Reputation:
Rep Power: 3
Solved Threads: 11
•
•
Join Date: Sep 2006
Location: Ontario Canada
Posts: 8
Reputation:
Rep Power: 0
Solved Threads: 0
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.
Btw. I recomend using div tags for layout and tables just for tabular data.
•
•
Join Date: Jun 2004
Posts: 210
Reputation:
Rep Power: 5
Solved Threads: 0
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.
[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.
•
•
Join Date: Oct 2005
Location: Northampton UK
Posts: 1,142
Reputation:
Rep Power: 6
Solved Threads: 9
•
•
•
•
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.
•
•
Join Date: Jul 2007
Posts: 110
Reputation:
Rep Power: 2
Solved Threads: 1
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.
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.
•
•
•
•
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.
![]() |
•
•
•
•
•
•
•
•
DaniWeb Site Layout and Usability Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- Layout Tables to CSS (HTML and CSS)
- Large and tables/cells..how? (HTML and CSS)
- Internal Data Tables (Visual Basic 4 / 5 / 6)
- Loing authentication fields from 2 tables? (ASP)
- web design: tables versus divs (HTML and CSS)
- updating 2 HTML tables on one PHP page (PHP)
Other Threads in the Site Layout and Usability Forum
- Previous Thread: Direction requested
- Next Thread: In Los Angeles Area...I am Looking for...



Linear Mode