cross platform html ...

mondimondi Icrontian
edited December 2003 in Internet & Media
hey there, have a little problem here,

I was showing my site to some friends at school today when a catastrophe occurred... it seems mac browsers wont handle transparent backgrounds in web pages ... which my site relies pretty heavily on ..quick and simple solution, just have black bg's for inferior browsers..

so question, how do i determine as the page loads what the operating system being used is/browser version is, so that i can use the 'transparent' tag only with browsers that understand it????

Comments

  • ShortyShorty Manchester, UK Icrontian
    edited December 2003
    You can do it with Javascript and a redirect :)

    http://www.joemaller.com/js-browser-detect.shtml <- Javascript for user agent detection.

    http://www.codeave.com/javascript/code.asp?u_log=7002 <- Redirect Jscript.

    Or... you can do it with PHP .. but as you have already done your pages in html, linked them and so on.. I doubt you want to get into that (even though it's simple enough) :)
  • mondimondi Icrontian
    edited December 2003
    alrighty, changing now ... thanks much

    tis a little bit of a waste of time though... i have a graphic designer friend working on the new page .. but he wont be done for awhile ... and some potential employers want a web portfolio ..

    so until then.
Sign In or Register to comment.