By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,492 Members | 1,987 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,492 IT Pros & Developers. It's quick & easy.

Trying to remove table within a table.

P: 40
Hello,
I'm doing a page for homework that incorporates a javascript form. I initially had to removed all of the HMTL style information and replace it with CSS. I feel that I've done most of this successfully. However, I've never used tables before. When I started learning HTML, I began with CSS. I need basically to remove a table thats inside a table. The first table is the "siderbar" with the psuedo-links. The second that contains the order form is what I'd like to remove.
Here's the link that will make it easy for you to see what I'm talking about.

http://auburn.edu/~brothdb/HTML/HW7/order.htm

I imagine it's not necessary to post the source code since you can view it from the browser.

It's very obvious that the 2nd table is suppose to be outside the sidebar.
Any tips, advice, info, or links would be much appreciated
Mar 18 '07 #1
Share this Question
Share on Google+
3 Replies


drhowarddrfine
Expert 5K+
P: 7,435
First step is to remove everything before the doctype because this throws IE into quirks mode.

Did they make you do this in tables or did you inherit it? Pages should never be laid out using tables.

The first part of the main enclosing table does not have matching <td> and <tr> tags. It looks like you are trying to contain a table inside a cell so you just cut that table out of that cell so it can stand alone. Same with the other table(s). Then you can use css to float them where you want.

There are a lot of errors in this thing. You need to validate and fix those, too.
Mar 19 '07 #2

P: 40
First step is to remove everything before the doctype because this throws IE into quirks mode.

Did they make you do this in tables or did you inherit it? Pages should never be laid out using tables.

The first part of the main enclosing table does not have matching <td> and <tr> tags. It looks like you are trying to contain a table inside a cell so you just cut that table out of that cell so it can stand alone. Same with the other table(s). Then you can use css to float them where you want.

There are a lot of errors in this thing. You need to validate and fix those, too.
Thanks for replying. I will fix the errors and try agian.

To your first question: Yes, the page was created by our professor in which the whole page was tables. Part of our assignment was to remove the styling information from the tables and include the CSS style info internally. I'll repost if i still have problems.

Thanks again
Mar 19 '07 #3

Expert 100+
P: 1,892
Thanks for replying. I will fix the errors and try agian.

To your first question: Yes, the page was created by our professor in which the whole page was tables. Part of our assignment was to remove the styling information from the tables and include the CSS style info internally. I'll repost if i still have problems.

Thanks again
If thats the correct link looks like you're still having trouble need some help let us know.


Aric
Mar 19 '07 #4

Post your reply

Sign in to post your reply or Sign up for a free account.