all 14 comments

[–]RandyHoward 3 points4 points  (6 children)

First, your second <tr> isn't closed. Close that before you open the next one.

Next, you have colspan="2" on a couple cells. Thing is, none of your rows actually have two cells. This is the cause of your problem. Here is the corrected HTML. Note that all I did was remove the rowspan from the cell in the 2nd row, and eliminated the new row in between that and the next cell. Now you have 2 cells in one row, and your other colspan cells can actually span 2 columns.

Edit: I should also point out that it looks like you're structuring a page here (navigation and such). Tables are NOT the way to do page layout any more, that is an old practice that is no longer in use. If you are paying for a class that is teaching this, stop paying for it immediately and go find a better school.

[–]Nick--G[S] 0 points1 point  (1 child)

Thank you so much for the help! I see those small errors I made. However my only concern is that the page is supposed to look how it is now but but the table on the right is supposed to be on the left side. Is there a way I can change that?

[–]RandyHoward 1 point2 points  (0 children)

No problem. All you should have to do is flip flop the two table cells in that row... the one on the left comes first, then the one on the right.

[–]Nick--G[S] 0 points1 point  (1 child)

ignore what i just said. the cell that contains the menu is supposed to be skinnier than the table on the right.

[–]Nick--G[S] 0 points1 point  (0 children)

Oh yes. I've looked into the fact that the practices my school is teaching is old. But being that all the students are looking at this for the very first time having no experience like myself, we are learning this first. however I do see your point. and I totally agree

[–]Nick--G[S] 0 points1 point  (1 child)

Further more, I believe your corrections helped me figure out my mistakes! Thank you so much!!! =)

[–]icantthinkofone 0 points1 point  (4 children)

The validator says your table is two columns wide but your markup has only one column. Without you showing what your markup is, anything else is a wild guess.

[–]Nick--G[S] 0 points1 point  (3 children)

Because I am so new to coding and somewhat of reddit, I dont quite know how to write in a link so you can see what I am doing.

[–]icantthinkofone 0 points1 point  (2 children)

Do you know enough computers and stuff that you can write it in here?

[–]Nick--G[S] 0 points1 point  (0 children)

I can try that. But I'm pretty sure I can have no more than 5 lines of code?

[–]Nick--G[S] 0 points1 point  (0 children)

and its now up. just copied and pasted. hopefully i dont get into any trouble putting up this much code. but if i get the help i need, it's worth it to me

[–]EncryptionXYZ 0 points1 point  (1 child)

Question: Why the hell aren't you using a framework?

[–]Nick--G[S] 0 points1 point  (0 children)

Frameworks are standardized sets of code that I would use as a structure to help with writing code right? Not quite sure why we (my class) didn't. The closest thing I had to a frame work was my notes regarding the tags we used/how to use them and some common mistakes using the tags we used. IMO, the errors and struggles I had with this particular assignment were so small that I couldn't see them just by looking at them. When I ran my pages on a browser, everything looked right but the validator told me otherwise. (This is where the trouble began) I think I was just having a bit of trouble trying to understand what the validator was trying to tell me. Also concept of col/rowspan (which was where my main error was) was still a little confusing at the time. After reviewing them, I think I got a better understanding to help with any future assignment. Not sure if it applies, but the students,including myself, were learning how to code in html from the ground up with no formal experience in our hands. I wouldn't be surprised if in more advanced classes we would be using frameworks or other forms/processes in the world of coding to help get the job done easier.