The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> HTML does not read properly and adds a new row
pilopo
post Jan 1 2018, 08:18 AM
Post #1





Group: Members
Posts: 3
Joined: 1-January 18
Member No.: 26,566



Hi smile.gif

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 laugh.gif

This post has been edited by pilopo: Jan 1 2018, 08:19 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pilopo
post 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 smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 1 2018, 10:12 AM
Post #3


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,914
Joined: 9-August 06
Member No.: 6



QUOTE(pilopo @ Jan 1 2018, 02:18 PM) *

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. smile.gif

Use the validator. It would have saved you 4 hours. wink.gif
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 1 2018, 01:30 PM
Post #4


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,914
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pilopo
post Jan 2 2018, 06:59 AM
Post #5





Group: Members
Posts: 3
Joined: 1-January 18
Member No.: 26,566



QUOTE(pandy @ Jan 1 2018, 01:30 PM) *

Oh, you had already found that. You must have posted while I wrote my answer.

Still, using the validator would have saved you time.

I didn't realize they even existed sad.gif Thanks anyways
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 2 2018, 07:36 AM
Post #6


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,914
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
AdrianG001
post Jan 12 2018, 09:04 AM
Post #7





Group: Members
Posts: 4
Joined: 12-January 18
Member No.: 26,574



Hey,

You can also try the below link to validate your code. This might help you to avoid your 4 hours tongue.gif

https://www.freeformatter.com/html-validator.html

Adrian Gates.
Web developer- Apps4Rent.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 21st May 2018 - 05:37 PM