I understood your first example. I was somewhat off topic, but was curious
as to your opinion on which method would you use . had included another
method for displaying buttons (a popular method using an a href and spans )
as example....   thanks again for your help =P



On Sat, Mar 29, 2008 at 1:00 PM, Holly Bergevin <[EMAIL PROTECTED]>
wrote:

> From: "corey deep" <[EMAIL PROTECTED]>
>
> >Spans involve less work with graphics editor, but it is alot of markup
> for a
> >single button no ?
>
> Well, what I had thought was -
>
> <button name="Submit" title="Submit This"  class="btn"
> type="submit"><span>Submit Me</span></button>
>
> with the CSS -
>
> .btn {
> position: relative;
> background:transparent url(btn_grn_submit.gif) no-repeat scroll left top;
> border:0;
> cursor:pointer;
> width:98px;
> height:26px;
> margin:0;
> padding:0;
> /* text-indent: -9999px; */ /* remove this */
> overflow:hidden;
> vertical-align:middle;
> }
>
> Add -
>
> .btn span {text-indent: -9999px;}
>
> ~holly
>
>
>
______________________________________________________________________
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