| | |
help with tables, please help?
Please support our Site Layout and Usability advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Sep 2006
Posts: 8
Reputation:
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?
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: 247
Reputation:
Solved Threads: 1
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 10:48 am. Reason: Placed code in code tags.
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:
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.
![]() |
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...
| Thread Tools | Search this Thread |
blogging content customer design development dreamweaver duplicate email evaluation filesharing firefox flash gilbane google html itunes javascript kazaa layout music napster peertopeer photoshop remote remoteserver satellitenavigation satnav server site tables template tips tomtom url wave web website websitedesignreview web_development web_sites






