![]() | |
![]() |
| | Thread Tools | Display Modes |
#11
| |||
| |||
|
|
There are purists amongst us. Those who construct CSS and HTML letter by letter. |
#12
| |||
| |||
|
|
Jeff wrote: 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 There are purists amongst us. Those who construct CSS and HTML letter by letter. God bless them. I don't have the time nor the inclination. I freely "borrow" bits that work for me. I then try to trim out what isn't relevant to my usage. Do I get it all out? No. Are my efforts perfect? Hardly. |
|
But, when someone comments on it I try to accept it and make it work, adjust as necessary, etc. |
![]() |
| Thread Tools | |
| Display Modes | |
| |