On Fri, Feb 13, 2009 at 7:17 AM, mona <poojapinj...@gmail.com> wrote: > > hi viewers > > i have one serious problem i have to set the page layout in such a way > that my website should perfectly viewed in internet explorer . It is > working fine in firefox but in IE it is not so can anybody tell me how > to call two different css for two different browsers or any other > solution for that so that is should be correctly displayed in internet > explorer
With PHP, you can check the browser using the user agent in the $_SERVER superglobal variable[1]. In another way, you can use css hacks for IE ou even the conditional comments[2]. [1] http://php.about.com/od/learnphp/p/http_user_agent.htm [2] http://haslayout.net/condcom Best regards. -- MARCELO DE F. ANDRADE (aka "eleKtron") Belem, PA, Amazonia, Brazil Linux User #221105 [...@parĂ¡ ~]# links http://pa.slackwarebrasil.org/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---