jeff5656 Posted February 2, 2009 Share Posted February 2, 2009 Can someone tell me why this link: http://www.hfhpulm.com/schedules/staffcallcurrent.php the date (left hand column) does not match up in Internet Explorer but it correctly matches up in firefox?? How on earth am I supposed to debug that if it works perfectly in firefox? Any help would be appreciated (the css isin the same htm, so the code is a bit long I apologize for that). I'm not sure if this is a css issue, as I know IE is pretty bad when it comes to CSS. Quote Link to comment Share on other sites More sharing options...
Yesideez Posted February 3, 2009 Share Posted February 3, 2009 Modify this part of your CSS and see how it works... td {font-family: arial;vertical-align: top;} Quote Link to comment Share on other sites More sharing options...
Yesideez Posted February 3, 2009 Share Posted February 3, 2009 I just started to break your HTML down to more readable sense and found you've made LOADS of HTML errors with your table. In places you're starting to define a table without closing the previous table first. Even when using <th></th> you still need to surround your TH cells with <tr> <tr><th>Cell 1</th><th>Cell 2</th><th>Cell 3</th></tr> Same goes for your <td></td> - surround each row with <tr> and </tr> Before you start defining a new table you need to close the previous one first. I counted 11 or 12 <table> definitions and only 9 or 10 </table> tags. Note also that if one line spills over to another line this can throw the lot out of line (eg. "El-Sayed" line breaks on IE but not on FF) so make sure your cells are wide enough or you use CSS to turn off word wrap. Quote Link to comment Share on other sites More sharing options...
alphanumetrix Posted February 12, 2009 Share Posted February 12, 2009 bridge the CSS. just search "bridged css" and you'll find a post I wrote on it, explaining how it works. In your case though, you need to forget <!--[iE 6]> and just use <!--[iE]> Quote Link to comment Share on other sites More sharing options...
bubbasheeko Posted February 14, 2009 Share Posted February 14, 2009 Use the W3 HTML Validation to hunt down some HTML errors you may have made. http://validator.w3.org/check?uri=http%3A%2F%2Fwww.hfhpulm.com%2Fschedules%2Fstaffcallcurrent.php&charset=%28detect+automatically%29&doctype=Inline&group=0 Switch from applying styles directly to each line of a table and just use css. :S Makes for easier reading of the code and will save you time in the future if you want to change the look of it. Change it from one place?? or 2..3..4..50. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.