Jump to content
Larry Ullman's Book Forums

zachsmath

Members
  • Posts

    6
  • Joined

  • Last visited

zachsmath's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. You are my hero! Works beautifully. I can't thank you enough. Now I can concentrate on learning PHP and MySql to make my website cool, lol. ZM
  2. worked up is putting it mildly for this 50-yr old geekette! yes, I can be nice to my up-to-date visitors and not make them download the extra bytes of code. good idea one more question: do I ADD your code to what I have or change it entirely? Does the html5shiv.js contain the contents of html5.js that I am currently using? ok, that was two questions.
  3. Success! I added the following to the header files and it worked. Now all of my pages render correctly in the evil IE browsers. Many blessings on the soul(s) that wrote the js fix. <!--[if IE]> <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script> <![endif]--> You saved me HOURS of recoding and testing. Thank you so much! ZM
  4. huh, I don't know what happened to the rest of my post above.... in that link, look at the source and you will see that the code is html5 and css3 and works just fine in IE7, IE8, and IE9. **shrug** beats me (I have tested in the actual IE7 browser and in the dev tools in IE9 using IE 7 mode and standards) I added my custom logo and replaced the links in the left nav and it turned to crap on a cracker. anyway, I will try the html5shiv js and see if that works. If it doesn't, I am traveling back in time and reverting back to html4 standards and css2...bleh. Or, I could sniff for browser version and dump them to an "Upgrade Now" page, but somehow I don't think my student's parents would find that very amusing. Thanks again for all of your help. ZM
  5. Thank you both for your replies. Yes, IE is hideous but 95% of the population that uses it doesn't realize it. HartleySan, you may have pinpointed for me why the homepage of the website works in all IE browser versions. It is calling the html5shiv javascript because of the scrolling images js code on that page. I will try that and see if that fixes this mess. I am just as confused as you are about the HTML 5 tags displaying in the standard (non php) html version of that page. Here is the link to the page pictured above: http://www.zachsmath.com/crs_geo/pages_test.html Take a look at the source code and you will see all the same html5 tags rendering perfectly in IE7 for that page. However, when I add my custom logo and nav links (css file stays exactly the same), it turns to crap on a cracker to quote Penny from the Big Bang Theory. LOL I will try the html5shiv script and see if that fixes it. If it doesn't, I guess I am moving backwards and stripping all the html5 and css3 ti get this thing to display for techtards that refuse to update their browswers. As a last result. I could just sniff for their browser version and dump them to an "Update now page" but my students parents might not find that terribly amusing. Thanks again for your help. ZM
  6. Hello, Admittedly, I am new to php but not writing html code or css. I am a high school Mathematics teacher but was a techie/codemonkey in a previous job-life. I have a class website that I provide for my students and it has become too difficult to maintain in static html. So, I bought your book to make the switch to dynamic websites using Php and MySql. I followed along, stripped the headers and footers first, put everything else in a .php file and called the header and footer with includes. Worked beautifully after I beat the CSS into submission. Here is my problem: Every page in my website renders correctly using php with the included files, css3 and html5 in IE9, Firefox 4 and above, Safari and Chrome. The orginal html page renders correctly in IE7, IE8, and IE9 and the others. Original html page in IE9 on left, IE7 on right A real PHP page from my website in IE9 on left, the same PHP page in IE7 on right Any help you can give me will be most appreciated. I have several of your books and I have been reading here for a little while but I can't find a solution to my issue. Please feel free to visit the site and recreate what I have posted. http://www.zachsmath.com (BTW, the home page script works perfectly in all of the browsers using the same css files.) I am beyond frustrated. Thanks in advance for any tips or clues you can provide on how I can fix this. ZachsMath
×
×
  • Create New...