![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a layout that works in IE but not in Firefox. I want the table that holds the form to be center aligned. http://nerdcraft.net/test.html What am I doing wrong here? |
#3
| |||
| |||
|
|
I have a layout that works in IE but not in Firefox. I want the table that holds the form to be center aligned. http://nerdcraft.net/test.html |
#4
| |||
| |||
|
|
lawpoop wrote: I have a layout that works in IE but not in Firefox. I want the table that holds the form to be center aligned. http://nerdcraft.net/test.html What am I doing wrong here? Add this to your table CSS: margin-left: auto; margin-right: auto; |
#5
| |||
| |||
|
|
In article <2t5do8.4ag.17.1 (AT) news (DOT) alt.net>, Ed Mullen <ed (AT) edmullen (DOT) net wrote: lawpoop wrote: I have a layout that works in IE but not in Firefox. I want the table that holds the form to be center aligned. http://nerdcraft.net/test.html What am I doing wrong here? Add this to your table CSS: margin-left: auto; margin-right: auto; Or margin: auto; OP doesn't seem to need his style="padding-top: 300px; text-align: center; margin-left: auto; margin-right: auto;" on his containing DIV |
#6
| |||
| |||
|
|
margin-left: auto; margin-right: auto; Or margin: auto; OP doesn't seem to need his style="padding-top: 300px; text-align: center; margin-left: auto; margin-right: auto;" on his containing DIV Right, but it's causing no harm, correct? |
#7
| |||
| |||
|
|
In article <2t642r.tb8.19.1 (AT) news (DOT) alt.net>, Ed Mullen <ed (AT) edmullen (DOT) net wrote: ... margin-left: auto; margin-right: auto; Or margin: auto; OP doesn't seem to need his style="padding-top: 300px; text-align: center; margin-left: auto; margin-right: auto;" on his containing DIV Right, but it's causing no harm, correct? The world is at a tipping point, climate-wise and every other-wise. Each byte means more energy. Tell them you will have your coffee cold tomorrow at Starbucks to help out Ed. <g |
#8
| |||
| |||
|
|
dorayme wrote: In article <2t5do8.4ag.17.1 (AT) news (DOT) alt.net>, Ed Mullen <ed (AT) edmullen (DOT) net wrote: lawpoop wrote: I have a layout that works in IE but not in Firefox. I want the table that holds the form to be center aligned. http://nerdcraft.net/test.html What am I doing wrong here? Add this to your table CSS: margin-left: auto; margin-right: auto; Or margin: auto; OP doesn't seem to need his style="padding-top: 300px; text-align: center; margin-left: auto; margin-right: auto;" on his containing DIV Right, but it's causing no harm, correct? |
#9
| |||
| |||
|
|
Ed Mullen wrote: dorayme wrote: In article <2t5do8.4ag.17.1 (AT) news (DOT) alt.net>, Ed Mullen ed (AT) edmullen (DOT) net> wrote: lawpoop wrote: I have a layout that works in IE but not in Firefox. I want the table that holds the form to be center aligned. http://nerdcraft.net/test.html What am I doing wrong here? Add this to your table CSS: margin-left: auto; margin-right: auto; Or margin: auto; OP doesn't seem to need his style="padding-top: 300px; text-align: center; margin-left: auto; margin-right: auto;" on his containing DIV Right, but it's causing no harm, correct? It looked to me that he kept adding stuff until it worked, or didn't. Often those superfluous bits come back to bite you. It certainly adds complexity if you want something else. My own belief is not to add anything that you don't know what it does. Of course, I've seen a lot of html where that wasn't true. Jeff |
#10
| |||
| |||
|
|
The world is at a tipping point, climate-wise and every other-wise. Each byte means more energy. Tell them you will have your coffee cold tomorrow at Starbucks to help out Ed. <g Well, I would, but they see me coming before I enter the door and start my Triple Grande Latte going before I can say anything. |
![]() |
| Thread Tools | |
| Display Modes | |
| |