Fixing Firefox Table Alignment Issue

  • Thread starter Thread starter Kein
  • Start date Start date
  • Tags Tags
    Table Web
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
Kein
Messages
18
Reaction score
0
Hi, everyone, don't be mad about me. I am a tempered man too! I just want to be cool around with some questions. Perhaps I won't ask for something that people want to take away or never want to give. I have not been realising that even when you don't want to, I can not do anything else than just keep silent with my own problems, right ? It's alright for me and here is my question on a webpage I am trying to make.
I put a table of 5 cols and 1 row on top of the page as a menu, I find that table in my page if opened with iexplore and safari looks fine horizontally but with firefox, another line feed is added and the last col is dropped down to the second line, something wrong about the alignment I am yet to find out a cause.

Could someone tell me why ?
 
Physics news on Phys.org
Kein said:
I put a table of 5 cols and 1 row on top of the page as a menu, I find that table in my page if opened with iexplore and safari looks fine horizontally but with firefox, another line feed is added and the last col is dropped down to the second line, something wrong about the alignment I am yet to find out a cause.

Could someone tell me why ?


Can you put the source code here. From what I understand is that 5th column is coming in the second line but you want all 5 columns in one line.

Width is likely the issue here. Just try

<table style="width:100%">

<tr>

<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
<td>5</td>

</tr>
</table>
 
Thanks, I will try it later because I am not at home now.