Solved

How do I create rounded buttons in IE 6?

Posted on 2011-02-27
6
624 Views
Last Modified: 2013-12-08
How do I create rounded buttons in IE 6? Also is there a way to display the same color (i.e. a background or button color) in IE 6 that I can show in Firefox?
0
Comment
Question by:mikesExpertExchange
6 Comments
 
LVL 3

Expert Comment

by:dtocci
ID: 34991992
Standard input buttons in IE6 are going to be square.  There's no easy way to change that.  If you don't have many buttons and the text on them doesn't change, you can create graphics and use <input type="image">
0
 
LVL 9

Expert Comment

by:mayank_joshi
ID: 34996924
You may visit this site to create rounded corner images:-

http://www.roundedcornr.com/

The images can be used in Image Buttons.
0
 
LVL 25

Expert Comment

by:Rouchie
ID: 35016630
In my honest opinion I wouldn't bother.  By doing all that extra work you are giving IE6 users an excuse not to upgrade their 10 year old software - software makes life hell for most web developers.

Most of my biggest clients use IE6 (miltary/healthcare clients) and I have made it quite clear that once they get their act together, they'll see all the CSS3 lovelyness that's waiting for them...!

If you do start messing around making your code IE6 friendly, then you're going to be creating lots more work for yourself in the future debugging it all!
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 3

Expert Comment

by:dtocci
ID: 35019162
I agree with Rouchie.  However maybe you're at a company that hasn't upgraded workstations in a while.  I know of one that still has its employees using IE6 if you can believe that.  If you want the buttons to look exactly the same on all browsers and you want it to be somewhat future-proof your only real option is to create a graphic for each button and use something like <input type="image">. Doing that won't cause bugs or mess anything else up. It just can be a pain if you want to have different text on a button.
0
 
LVL 25

Accepted Solution

by:
Rouchie earned 500 total points
ID: 35019244
Yeah agreed.

Or... use a DIV with a background image that represents your button, then use a hyperlink in the div that contains the text.

Like this...

<div style="width:100px; background:url(myButton.gif) no-repeat left top">
   <a href="somepage.htm" style="display:block; font-weight:bold">Link Text</a>
</div>

Open in new window


The problem is that this is harder to position in line with text as various browsers get confused about what's going on.  We all agree - keep it simple and f*** IE6 :-)
0
 
LVL 1

Author Closing Comment

by:mikesExpertExchange
ID: 35262373
thanks for your help
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
SSL stands for “Secure Sockets Layer” and an SSL certificate is a critical component to keeping your website safe, secured, and compliant. Any ecommerce website must have an SSL certificate to ensure the safe handling of sensitive information like…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …
Shows how to create a shortcut to site-search Experts Exchange using Google in the Chrome browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch the Search Engine Menu: In chrome, via you…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now