![]() |
IE / Firefox - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: IE / Firefox (/showthread.php?tid=22494) |
IE / Firefox - El Forum - 09-11-2009 [eluser]Unknown[/eluser] I should know this one by now... But I can't seem to fix the discrepencies between IE and Firefox on this one. Anyone bored and want to help? Help with Code Tags css Syntax (Toggle Plain Text) 1. body { 2. font: 18px Verdana, Arial, Sans-Serif; 3. background: #FFFFFF; 4. color: #000000; 5. text-align: center; 6. } 7. 8. a { 9. color: #FFFFFF; 10. text-decoration: none; 11. } 12. 13. #wrapper { 14. margin: 0 auto; 15. text-align: center; 16. width: 854px; 17. background: #FFFFFF; 18. } 19. 20. #header { 21. height: 400px; 22. margin: 0px; 23. text-align: center; 24. } 25. 26. #navbartop { 27. margin: 0; 28. padding: 0; 29. text-align: center; 30. } 31. 32. .topitem { 33. float: left; 34. text-decoration: none; 35. margin: 0 14px 0 0; 36. padding: 20px 15px 15px 15px; 37. font-size: 18px; 38. font-weight: bold; 39. background: #6EB43F; 40. height: 50px; 41. color: #FFFFFF; 42. } 43. 44. 45. #sidebar { 46. float: left; 47. width: 300px; 48. } 49. 50. .tabitem { 51. text-decoration: none; 52. margin: 14px 10px 0 0; 53. padding: 6px 10px 6px 8px; 54. font-size: 18px; 55. font-weight: bold; 56. background: url('images/navbar.gif'); 57. color: #FFFFFF; 58. } 59. 60. #content { 61. clear: both; 62. background: #FFFFFF; 63. color: #000000; 64. padding: 2px 0px; 65. text-align: left; 66. } 67. 68. .sidebox { 69. float: right; 70. width:200px; 71. padding: 10px; 72. margin: 40px 0 0 20px; 73. background: #EDF5E7; 74. font-style:italic; 75. font-weight: bold; 76. } 77. 78. #footer { 79. margin: 20px 0 0 0; 80. padding: 5px; 81. font-size: 12px; 82. background: #FFFFFF; 83. } 84. 85. #footer p { 86. margin: 0; 87. } IE / Firefox - El Forum - 09-11-2009 [eluser]Aken[/eluser] - You should copy and paste source code only, not from whatever source you're getting it from. And wrap it in [code] tags. - Debugging CSS by itself is almost useless when doing cross browser compatibility (unless you're like a CSS prodigy genius). Post up a live URL. |