Hey, I have a general question which I am trying to find the answer too. On my site, I have a 2 column table which is used to display data. My site is responsive, and when viewed on a mobile, I want the 2 column table to become a single column table. Is this possible?
Hey, I have a general question which I am trying to find the answer too. On my site, I have a 2 column table which is used to display data. My site is responsive, and when viewed on a mobile, I want the 2 column table to become a single column table. Is this possible?
Cheers
Nick
It may be possible with PHP or perhaps even with JavaScript. The </tr><tr> that creates the second column can be omitted when the page is viewed with a mobile device.
Will
__________________
Numerology API for apps - Facebook, iPad, mobile phones. No charge to use API. [info]
Last edited by Will Bontrager; 07-19-2012 at 11:33 PM..
Reason: codes didn't print correctly
If a website is a mobile device, then load a stylesheet in which hides the second column. Quite simply, a stylesheet (which I would name "mobile.css"), would have: