thanks for your reply.
How do I apply it to
<input type="button" >
I need a button so that I can capture onclick events
Main Topics
Browse All TopicsMy HTML designer has given me the following code for a button
[code]
<p class="gtb_btnImgGrp searchBtns">
<a href="contact_add.html" class="gtb_btn">
<span class="gtb_btnImgStart">&n
<span class="gtb_btnImgStretch">
<span class="gtb_btnImgEnd">&nbs
</a>
</p>
[/code]
following are the corresponding CSS classes
[code]
.gtb_form p.gtb_btnImgGrp span {display:inline; float:none; font-size:10px}
#searchPanel p.searchBtns {text-align: right}
gtb_btn {position:relative; width:auto;padding:1px 0; text-transform: uppercase; font-size: 10px !important; background: none; cursor: pointer;line-height:10px; overflow: visible; text-decoration:none; color:#333;display:inline-
.gtb_btn * {z-index: 100;/*margin: 1px 0;*/;}
.gtb_btn span {padding: 9px 5px;width: auto; white-space:no-wrap;line-h
.gtb_btn img {border:0; display: block; position: absolute; top:8px;z-index:200}
/* Image Buttons */
.gtb_btn .gtb_btnImgStart, .gtb_btn .gtb_btnImgEnd {padding: 9px 2px}
.gtb_btn .gtb_btnImgStretch {background: url(../images/buttons.png)
.gtb_btn .gtb_btnImgStart {background: url(../images/buttons.png)
.gtb_btn .gtb_btnImgEnd {background: url(../images/buttons.png)
[/code]
Now I need to create a button in my JSP with the same look and feel
<input type="button" value="Save" />
Can someone please let me know how to create a CSS class, which I can use to show the same look and feel to the user. I want to do something like
<input type="button" value="Save" class="saveClass" /> and have the same look an feel of the button
Thank you
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I tried this
<p class="gtb_btnImgGrp searchBtns">
<a href="contact_add.html" class="gtb_btn">
<span class="gtb_btnImgStart">&nb
<span class="gtb_btnImgStretch"><i
<span class="gtb_btnImgEnd"> 
</a>
</p>
but this puts a HTML button on top of the CSS generated look and feel
Business Accounts
Answer for Membership
by: BadotzPosted on 2009-07-01 at 07:11:04ID: 24754484
Whay can't you use the same HTML for your button as that for your designer's button?