You are here: Re: Fieldset CSS Centering « HTML « IT news, forums, messages
Re: Fieldset CSS Centering

Posted by Steve Pugh on 11/02/91 11:42

"PeterMcC" <peter@mccourt.org.uk> wrote:
>effendi@epitome.com.sg wrote in
><1142433686.353819.70950@j52g2000cwj.googlegroups.com>

>> The only problem I am still facing is the fact that my buttons are
>> still left aligned. In spite of the fact that I gave the butons a clas
>> called "buttons"
>>
>> with the following code
>>
>>
>> Input.Buttons{
>> color:#050;
>> font-family:'trebuchet ms',helvetica,sans-serif;
>> font-size: 11px;
>> margin-left: auto
>> margin-right: auto
>> }
>
>Missing semi-colon?

That and the fact that margin: auto won't center inline elements like
input. And based on what the OP has literally written there's also the
mismatch between class="buttons" and .Buttons. Without a URL, who
knows?

And that's not even getting into the other problems like pixels for
font size and colour with no background colour.

Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация