473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Table appearing different in Firefox.

Hi,

The webpage im working on is www.uofpd.co.uk/roster.php

Basically I have a table contained in there which is outputting fine in Internet Explorer but when you view it in Firefox it appears a lot bigger which ends up pushing it off the page.

I haven't named the size of anything on the table or the cells or the rows or anything, would that be the problem?

I have validated both the html and the css used on this page so that didn't give me any answers to the problem!

Expand|Select|Wrap|Line Numbers
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Portsmouth Destroyers : Roster</title>
  6. <link href="css/layout.css" rel="stylesheet" type="text/css" />
  7. <link href="css/menu.css" rel="stylesheet" type="text/css" />
  8. </head>
  9.  
  10. <body>
  11. <div id="container">
  12. <div id="header">
  13. <img src="images/header.gif" alt="Portsmouth Destroyers" />
  14. </div>
  15. <div id="navigation">
  16. <?php
  17. include ('includes/navigation.php');
  18. ?>
  19. </div>
  20. <div id="sidebarroster">
  21. <h1>Team</h1>
  22.  <p> <a href="roster.php">::Roster::</a></p>
  23.   <p><a href="coaches.php">::Coaches::</a></p>
  24.   <p><a href="alltimeroster.php">::All Time Roster::</a></p>
  25. </div>
  26.  
  27.  
  28. <div id="maincontentroster">
  29. <table>
  30. <tr>
  31. <td><h6>Name</h6></td>
  32. <td><h6>Position</h6></td>
  33. <td><h6>#</h6></td>
  34. <td><h6>Age</h6></td>
  35. <td><h6>Height</h6></td>
  36. <td><h6>Weight</h6></td>
  37. </tr>
  38. <tr>
  39. <td><p>Neil Blow  </p></td>
  40. <td><p>Quarterback  </p></td>
  41. <td><p>5</p></td>
  42. <td><p>TBC</p></td>
  43. <td><p>TBC</p></td>
  44. <td><p>TBC</p></td>
  45. </tr>
  46. <tr>
  47. <td><p>Kristian Rejek  </p></td>
  48. <td><p>Quarterback  </p></td>
  49. <td><p>TBC  </p></td>
  50. <td><p>TBC</p></td>
  51. <td><p>TBC</p></td>
  52. <td><p>TBC</p></td>
  53. </tr>
  54. <tr>
  55. <td><p>Michael Ominiyi</p></td>
  56. <td><p>Quarterback</p></td>
  57. <td><p>TBC  </p></td>
  58. <td><p>TBC  </p></td>
  59. <td><p>TBC</p></td>
  60. <td><p>TBC</p></td>
  61. </tr>
  62. <tr>
  63. <td><p>Richard Rees</p></td>
  64. <td><p>Quarterback</p></td>
  65. <td><p>TBC  </p></td>
  66. <td><p>TBC  </p></td>
  67. <td><p>TBC</p></td>
  68. <td><p>TBC</p></td>
  69. </tr>
  70. <tr>
  71. <td><p>Rubani Streete-Hamilton</p></td>
  72. <td><p>Running Back</p></td>
  73. <td><p>6</p></td>
  74. <td><p>TBC</p></td>
  75. <td><p>TBC</p></td>
  76. <td><p>TBC</p></td>
  77. </tr>
  78. <tr>
  79. <td><p>Des Agyenumhene</p></td>
  80. <td><p>Running Back</p></td>
  81. <td><p>8  </p></td>
  82. <td><p>TBC </p></td>
  83. <td><p>TBC</p></td>
  84. <td><p>TBC</p></td>
  85. </tr>
  86. <tr>
  87. <td><p>DJ Demuren  </p></td>
  88. <td><p>Running Back  </p></td>
  89. <td> <p>TBC</p></td>
  90. <td> <p>TBC</p></td>
  91. <td><p>TBC</p></td>
  92. <td><p>TBC</p></td>
  93. </tr>
  94. <tr>
  95. <td><p>Christoph Kulher  </p></td>
  96. <td><p>Running Back</p></td>
  97. <td><p>31</p></td>
  98. <td><p>TBC</p></td>
  99. <td><p>TBC</p></td>
  100. <td><p>TBC</p></td>
  101. </tr>
  102. <tr>
  103. <td><p>Will Masinja</p></td>
  104. <td><p>Wide Receiver</p></td>
  105. <td><p>TBC</p></td>
  106. <td><p>TBC</p></td>
  107. <td><p>TBC</p></td>
  108. <td><p>TBC</p></td>
  109. </tr>
  110. <tr>
  111. <td><p>Alywin Thorne-Griffith</p></td>
  112. <td><p>Wide Receiver</p></td>
  113. <td><p>TBC</p></td>
  114. <td><p>TBC</p></td>
  115. <td><p>TBC</p></td>
  116. <td><p>TBC</p></td>
  117. </tr>
  118. <tr>
  119. <td><p>Tim Carmichael</p></td>
  120. <td><p>Wide Receiver</p></td>
  121. <td><p>80</p></td>
  122. <td><p>TBC</p></td>
  123. <td><p>TBC</p></td>
  124. <td><p>TBC</p></td>
  125. </tr>
  126. <tr>
  127. <td><p>Mark Collier</p></td>
  128. <td><p>Wide Receiver</p></td>
  129. <td><p>TBC</p></td>
  130. <td><p>TBC</p></td>
  131. <td><p>TBC</p></td>
  132. <td><p>TBC</p></td>
  133. </tr>
  134. <tr>
  135. <td><p>Ben Shaw</p></td>
  136. <td><p>Wide Receiver</p></td>
  137. <td><p>TBC</p></td>
  138. <td><p>TBC</p></td>
  139. <td><p>TBC</p></td>
  140. <td><p>TBC</p></td>
  141. </tr>
  142. <tr>
  143. <td><p>Rob Lowe</p></td>
  144. <td><p>Offensive Lineman</p></td>
  145. <td><p>77</p></td>
  146. <td><p>21</p></td>
  147. <td><p>TBC</p></td>
  148. <td><p>TBC</p></td>
  149. </tr>
  150. <tr>
  151. <td><p>Ben Peddie</p></td>
  152. <td><p>Offensive Lineman</p></td>
  153. <td><p>61</p></td>
  154. <td><p>20</p></td>
  155. <td><p>TBC</p></td>
  156. <td><p>TBC</p></td>
  157. </tr>
  158. <tr>
  159. <td><p>Scott Reason</p></td>
  160. <td><p>Offensive Lineman</p></td>
  161. <td><p>71</p></td>
  162. <td><p>TBC</p></td>
  163. <td><p>TBC</p></td>
  164. <td><p>TBC</p></td>
  165. </tr>
  166. <tr>
  167. <td><p>Sean Chivers</p></td>
  168. <td><p>Offensive Lineman</p></td>
  169. <td><p>TBC</p></td>
  170. <td><p>TBC</p></td>
  171. <td><p>TBC</p></td>
  172. <td><p>TBC</p></td>
  173. </tr>
  174. <tr>
  175. <td><p>Scott Reason</p></td>
  176. <td><p>Offensive Lineman</p></td>
  177. <td><p>71</p></td>
  178. <td><p>TBC</p></td>
  179. <td><p>TBC</p></td>
  180. <td><p>TBC</p></td>
  181. </tr>
  182. <tr>
  183. <td><p>Jerry Hughes</p></td>
  184. <td><p>Offensive Lineman</p></td>
  185. <td><p>70</p></td>
  186. <td><p>22</p></td>
  187. <td><p>TBC</p></td>
  188. <td><p>TBC</p></td>
  189. </tr>
  190. <tr>
  191. <td><p>Jack James</p></td>
  192. <td><p>Defensive Lineman</p></td>
  193. <td><p>99</p></td>
  194. <td><p>TBC</p></td>
  195. <td><p>TBC</p></td>
  196. <td><p>TBC</p></td>
  197. </tr>
  198. <tr>
  199. <td><p>Helmi Akili</p></td>
  200. <td><p>Defensive Lineman</p></td>
  201. <td><p>TBC</p></td>
  202. <td><p>TBC</p></td>
  203. <td><p>TBC</p></td>
  204. <td><p>TBC</p></td>
  205. </tr>
  206. <tr>
  207. <td><p>James Perrineau</p></td>
  208. <td><p>Defensive Lineman</p></td>
  209. <td><p>90</p></td>
  210. <td><p>TBC</p></td>
  211. <td><p>TBC</p></td>
  212. <td><p>TBC</p></td>
  213. </tr>
  214. <tr>
  215. <td><p>Mike Gumbs</p></td>
  216. <td><p>Defensive Lineman</p></td>
  217. <td><p>17</p></td>
  218. <td><p>TBC</p></td>
  219. <td><p>TBC</p></td>
  220. <td><p>TBC</p></td>
  221. </tr>
  222. <tr>
  223. <td><p>Dave Saunders</p></td>
  224. <td><p>Defensive Lineman</p></td>
  225. <td><p>63</p></td>
  226. <td><p>TBC</p></td>
  227. <td><p>TBC</p></td>
  228. <td><p>TBC</p></td>
  229. </tr>
  230. <tr>
  231. <td><p>Chris Nustedt</p></td>
  232. <td><p>Defensive Lineman</p></td>
  233. <td><p>12</p></td>
  234. <td><p>TBC</p></td>
  235. <td><p>TBC</p></td>
  236. <td><p>TBC</p></td>
  237. </tr>
  238. <tr>
  239. <td><p>Edson Bras</p></td>
  240. <td><p>Defensive Lineman</p></td>
  241. <td><p>91</p></td>
  242. <td><p>TBC</p></td>
  243. <td><p>TBC</p></td>
  244. <td><p>TBC</p></td>
  245. </tr>
  246. <tr>
  247. <td><p>Grant Williams</p></td>
  248. <td><p>Defensive Lineman</p></td>
  249. <td><p>75</p></td>
  250. <td><p>22</p></td>
  251. <td><p>TBC</p></td>
  252. <td><p>TBC</p></td>
  253. </tr>
  254. <tr>
  255. <td><p>Rory Alexander</p></td>
  256. <td><p>Linebacker</p></td>
  257. <td><p>55</p></td>
  258. <td><p>TBC</p></td>
  259. <td><p>TBC</p></td>
  260. <td><p>TBC</p></td>
  261. </tr>
  262. <tr>
  263. <td><p>Jon Moss</p></td>
  264. <td><p>Linebacker</p></td>
  265. <td><p>54</p></td>
  266. <td><p>TBC</p></td>
  267. <td><p>TBC</p></td>
  268. <td><p>TBC</p></td>
  269. </tr>
  270. <tr>
  271. <td><p>Mike Moore</p></td>
  272. <td><p>Linebacker</p></td>
  273. <td><p>52</p></td>
  274. <td><p>TBC</p></td>
  275. <td><p>TBC</p></td>
  276. <td><p>TBC</p></td>
  277. </tr>
  278. <tr>
  279. <td><p>Luke Knight</p></td>
  280. <td><p>Linebacker</p></td>
  281. <td><p>56</p></td>
  282. <td><p>TBC</p></td>
  283. <td><p>TBC</p></td>
  284. <td><p>TBC</p></td>
  285. </tr>
  286. <tr>
  287. <td><p>Paul Ellis</p></td>
  288. <td><p>Defensive Back</p></td>
  289. <td><p>27</p></td>
  290. <td><p>TBC</p></td>
  291. <td><p>TBC</p></td>
  292. <td><p>TBC</p></td>
  293. </tr>
  294. <tr>
  295. <td><p>Luis Cruz</p></td>
  296. <td><p>Defensive Back</p></td>
  297. <td><p>13</p></td>
  298. <td><p>19</p></td>
  299. <td><p>TBC</p></td>
  300. <td><p>TBC</p></td>
  301. </tr>
  302. <tr>
  303. <td><p>Mark Foster</p></td>
  304. <td><p>Defensive Back</p></td>
  305. <td><p>TBC</p></td>
  306. <td><p>TBC</p></td>
  307. <td><p>TBC</p></td>
  308. <td><p>TBC</p></td>
  309. </tr>
  310. <tr>
  311. <td><p>Kyle Kitch</p></td>
  312. <td><p>Defensive Back</p></td>
  313. <td><p>37</p></td>
  314. <td><p>TBC</p></td>
  315. <td><p>TBC</p></td>
  316. <td><p>TBC</p></td>
  317. </tr>
  318. <tr>
  319. <td><p>James Gaydon</p></td>
  320. <td><p>Defensive Back</p></td>
  321. <td><p>TBC</p></td>
  322. <td><p>TBC</p></td>
  323. <td><p>TBC</p></td>
  324. <td><p>TBC</p></td></tr>
  325. <tr>
  326. <td><p>Niall Kent</p></td>
  327. <td><p>Defensive Back</p></td>
  328. <td><p>TBC</p></td>
  329. <td><p>TBC</p></td>
  330. <td><p>TBC</p></td>
  331. <td><p>TBC</p></td>
  332. </tr>
  333. <tr>
  334. <td><p>Matt Wickington</p></td>
  335. <td><p>Defensive Back</p></td>
  336. <td><p>TBC</p></td>
  337. <td><p>TBC</p></td>
  338. <td><p>TBC</p></td>
  339. <td><p>TBC</p></td>
  340. </tr>
  341. <tr>
  342. <td><p>Tom Martin</p></td>
  343. <td><p>Kicker/Punter</p></td>
  344. <td><p>3</p></td>
  345. <td><p>TBC</p></td>
  346. <td><p>TBC</p></td>
  347. <td><p>TBC</p></td>
  348. </tr>
  349. </table>
  350. </div>
  351. <div id="footer">
  352. <?php
  353. include ('includes/footer.php');
  354. ?>
  355. </div>
  356. </div>
  357. <script type="text/javascript">
  358. var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
  359. document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
  360. </script>
  361. <script type="text/javascript">
  362. var pageTracker = _gat._getTracker("UA-4887420-1");
  363. pageTracker._initData();
  364. pageTracker._trackPageview();
  365. </script>
  366. </body>
  367. </html>
Aug 5 '08 #1
2 1222
drhowarddrfine
7,435 Expert 4TB
All <p> have a top/bottom margin and Firefox is following the standard. IE is not and collapsing the margins. If you don't want the margins then you'll have to set them to zero.

The margins should only collapse when one p is follows by another.
Aug 5 '08 #2
Thanks alot. I've adjusted the P settings in those Div's in the CSS.

#maincontentroster p {
font-family:Arial, Helvetica, sans-serif;
font-size:.9em;
margin: 0;
}

Is the example of how I fixed it...

Thanks for your help
Aug 5 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: news | last post by:
I've a site: http://gto.ie-studios.net/products.php that looks perfectly fine in Windows whether with IE or Firefox 1.0. But when viewed in the Linux version of Firefox 1.0, images get misaligned...
5
by: news | last post by:
I've a site: http://gto.ie-studios.net/products.php that looks perfectly fine in Windows whether with IE or Firefox 1.0. But when viewed in the Linux version of Firefox 1.0, images get misaligned...
11
by: Norman L. DeForest | last post by:
Am I misunderstanding the CSS specifications or is Firefox (version 1.0.6) (and Opera) doing the wrong thing? It appears that Firefox 1.0.6 includes the border in width calculations for tables...
117
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.