You are here: Button text not centered « HTML « IT news, forums, messages
Button text not centered

Posted by Ron Brennan on 06/25/05 02:42

Good evening.

In at least IE 5.0. When I create a button with no border, the text on the
button is no longer centered vertically - the borders do disappear but there
is more space under the button text than above it. I've tried all the
options I can find with no success. It's as though the bottom border is
still present but is the same color as the button background. Is this a bug
in the browser?

In a linked stylesheet:

..localbutton { font-size: 10pt; border-style: none }

In my html page:

<button type=button class=localbutton id=raiseButton>MoveUp</button>

Many thanks,
Ron

 

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

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