JS in My Sexy Responsive Data Tables

submitted by uklmhb on 09/30/16 1

CSS SEXY I have fallen in LUST with Responsive Web Design, my iPhone and I can't get enough of websites interfacing our queries while they dress all CSS-SEXY for us. I love the fact that many companies are now catering to my 320px fetish; many of today's websites are even designed to fit my viewport all the way to my max-device-width. You may SCREAM the "safe word", but mobile devices won't stop using more bandwidth globally until we all "get off" our phones. I began studying Responsive Web Design late in 2010, and have come to gather a good understanding of the subject. I wrote an entry on this matter last year titled "Responsive Web Design and Adaptive Web Design", since then I have dominated the realms of Responsive Web Design and have made them my bitch for my own amusement. IE Display Table Block == Odoriferous Underside of a Donkey I was only dreaming that everything in the land of Responsive Web Design was under my control. I smelled the odoriferous underside of a donkey the moment I tried to make Tables work for Responsive Web Design. Tables just do NOT cater to my 320px web fetish. As hard as I try to beat them into submission, Tables are just TOO BIG for my device. As such, Lord Google advised me to read an article by Chris Coyier titled "Responsive Data Tables". Chris broke down the fact that no matter what you do... "Data Tables don't do so well with responsive design. Just sayin'." - Chris Coyier. He gives us a great solution for styling tables differently at key Media Queries: basically we kill the tHeader, then use pseudo classes to inject the tHeader inside the Table cells adjacent to the main TD content. Displaying all the Table child tags as BLOCK will give us flexibility. See Chris's code example...

Leave a comment

Be the first to comment

Collections with this video
Email
Message
×
Embed video on a website or blog
Width
px
Height
px
×
Join Huzzaz
Start collecting all your favorite videos
×
Log in
Join Huzzaz

facebook login
×
Retrieve username and password
Name
Enter your email address to retrieve your username and password
(Check your spam folder if you don't find it in your inbox)

×