The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Responsive Web Design and display:none; Re: Responsive Web Design and display:none;


Let me start by saying I know that this is not good practice and still has tons of bugs, but as anyone here built a responsive site using PHP browser detection…
[]( “PHP.NET Manual”)

echo $_SERVER . "nn";

$browser = get_browser(null, true);

combining this with some php ReqEx to display HTML content if so please link it.

If not it might be worth putting a testing environment together using JavaScript and a PHP fallback, just to see if this would ever be a practical solution. My guess is no, but I have been wrong before.