Only display certain CSS div elements in specific browsers - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: Only display certain CSS div elements in specific browsers (/showthread.php?tid=93391) Only display certain CSS div elements in specific browsers by Jimbo on 12-31-2009 at 08:50 PM
What I am trying to do is detect the browser a user is using, and then if its anything but IE, display a specicifc div element, in this case "footer", but if the user is using IE, do not display this element. Or, which is probably easier, detect the browser, and if IE, display nothing, else, display "blah". RE: Only display certain CSS div elements in specific browsers by matty on 12-31-2009 at 09:14 PM
css code: RE: Only display certain CSS div elements in specific browsers by Jimbo on 01-01-2010 at 01:04 AM
RE: Only display certain CSS div elements in specific browsers by user27089 on 01-01-2010 at 12:34 PM
Remember that for usability reasons you should always try and avoid hiding stuff in certain browsers unless necessary. Visual elements are fine to hide, but if you start hiding structural elements like footers etc, the site will look strange. |