L
16

Spent 6 months building a website with tables before someone told me about CSS

I started learning HTML from this old book I found at a garage sale and it showed everything using tables for layout. So for like half a year I was building page after page with nested tables, thinking that's just how you do it. Then I posted a question on Stack Overflow about why my site was so slow to load and somebody asked why I wasn't using CSS flexbox. I had no idea what that even was. It took me a whole weekend to redo my first real project but man the difference was night and day. Did anyone else learn from an outdated resource and have to unlearn everything later?
2 comments

Log in to join the discussion

Log In
2 Comments
wade438
wade4389d agoTop Commenter
Hold up, tables for SIX MONTHS? Dude that is brutal. I cant even imagine the headache of trying to resize a page or make it work on a phone with all those nested table rows and columns. I bet your html file was like 5000 lines long just for one page. Did you ever accidentally delete a </td> and mess up the whole layout? That alone would have made me quit coding forever. Props to you for sticking with it that long before finding out about CSS.
2
samf95
samf959d ago
Yeah, I totally thought tables were fine until I tried building a mobile site and it broke everything.
2