HTML does not read properly and adds a new row |
HTML does not read properly and adds a new row |
pilopo |
Jan 1 2018, 08:18 AM
Post
#1
|
Group: Members Posts: 3 Joined: 1-January 18 Member No.: 26,566 |
Hi
I have been spending about 4 hours trying to figure out why in the world my HTML loads wrong. I have the fiddle here: https://jsfiddle.net/55L52yww/186/ The issue is that it for some reason makes the first row like a container for the rest of the page. It does this even though I end it right after the table ends. Also the last row is shown in the middle of the page, which I don't seen how is possible either? Do you guys have any suggestions to why this is? I would be so happy if you would help me as I am about to rip my head off This post has been edited by pilopo: Jan 1 2018, 08:19 AM |
pilopo |
Jan 1 2018, 10:08 AM
Post
#2
|
Group: Members Posts: 3 Joined: 1-January 18 Member No.: 26,566 |
I missed a </table>.... Well, I guess I got an experience richer
|
pandy |
Jan 1 2018, 10:12 AM
Post
#3
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
It does this even though I end it right after the table ends. Also the last row is shown in the middle of the page, which I don't seen how is possible either? Maybe. But the problem is the table never ends. You've forgotten the closing tag for TABLE. Use the validator. It would have saved you 4 hours. https://validator.w3.org/ Or, if you don't use XHTML or HTML5, you can use our validator that IMO is easier to work with. Links in the top an bottom menu of each page here. |
pandy |
Jan 1 2018, 01:30 PM
Post
#4
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Oh, you had already found that. You must have posted while I wrote my answer.
Still, using the validator would have saved you time. |
pilopo |
Jan 2 2018, 06:59 AM
Post
#5
|
Group: Members Posts: 3 Joined: 1-January 18 Member No.: 26,566 |
|
pandy |
Jan 2 2018, 07:36 AM
Post
#6
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Good I told you then. You can learn a lot from validators, even if they themselves have something of a learning curve. The best is to validate frequently as you write the page. That way it's easier to understand and correct the errors.
BTW the other table also lacks the closing tag. |
Lo-Fi Version | Time is now: 18th April 2024 - 09:36 PM |