Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why do people still use tables, inline css, et al? [closed]

Tags:

html

css

xhtml

When you learn HTML and so forth nowadays, the mantra is always "Clean code = better code".

So why do sites like Mobile Me and Google and Facebook all use huge amounts of tables and other not-semantically correct code?

Thanks!

like image 658
Aaron Yodaiken Avatar asked Dec 18 '25 18:12

Aaron Yodaiken


2 Answers

Because people still use IE6, unfortunately, and it's so incredibly bad at CSS as to make it almost worthless for CSS selectors of any sophistication. Until IE6 is gone and dead dead dead in the cold ground, you're still going to see a lot of this.

If you could see what SharePoint generates, you would probably go into seizures.

like image 200
Dave Markle Avatar answered Dec 20 '25 11:12

Dave Markle


Clean code is better, yes.

But working code is much much better )

like image 24
Davinel Avatar answered Dec 20 '25 10:12

Davinel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!