This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

centering buttons in Firefox  RSS feed

 
Manon Baratt
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have two buttons that display correctly in the center of the row in IE but not in firefox. Here is the code.

<table align="center" cellpadding="2" cellspacing="2">
<tr>
<td><input type="SUBMIT" value="Next"></td>
<td><input type="RESET" value="Clear Form"></td>
</tr>
</table>

What do I need to do to have firefox do the same?

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried putting the align attribute on the table cells rather than the table? Or use CSS instead of markup?
 
Manon Baratt
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, I tried putting the align on the individual cell and that did not work. How do I do that in css?

Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!