Sorry about that... It's just habit to click reply.

I'll keep it in mind for the future.

Steve

-----Original Message-----
From: Mauricio Samy Silva [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 15, 2007 12:47 PM
To: [css-d] List; Graham, Steve
Subject: Re: [css-d] center submit button in a table cell

Hi Steve,
Please,  no private messagens. Use reply all...
So the list knows its solved (or not)
Regards
Mauricio



----- Original Message ----- 
From: "Graham, Steve" <[EMAIL PROTECTED]>
To: "Mauricio Samy Silva" <[EMAIL PROTECTED]>
Sent: Thursday, November 15, 2007 6:22 PM
Subject: [css-d] center submit button in a table cell


@Maurico

Thanks, that seemed to do the trick!


@Everyone else

Thanks to everyone else who submitted an idea, I appreciate the tips. I'm 
pretty sure I had tried the text-align: center; a while back on this submit 
button but found it didn't work, so I tried several other options, none of 
which worked the way I wanted them too.

---
Thanks again!
Steve


-----Original Message-----
From: Mauricio Samy Silva [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 15, 2007 5:54 AM
To: css-d@lists.css-discuss.org; Graham, Steve
Subject: Re: [css-d] center submit button in a table cell

Try:

input {
 display:block;
 vertical-align: middle;
 margin:0 auto;
 }
td {height:50px;}

Regards

MaurĂ­cio Samy Silva
http://www.maujor.com/
Tutoriais CSS
http://www.maujor.com/blog
Blog do Maujor
------------------------------------------------------------------------------------
----- Original Message ----- 
From: "Graham, Steve" <[EMAIL PROTECTED]>
> My question for you is this. I'm trying to figure out a way to
> automatically center a submit button in a table cell. I can style the
> button just fine, but I've not found a good way to center it.
> Thanks for the help,
> Steve

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to