?
Solved

How do I create rounded buttons in IE 6?

Posted on 2011-02-27
6
Medium Priority
?
630 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:Michael Sterling
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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 2000 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:Michael Sterling
ID: 35262373
thanks for your help
0

Featured Post

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
Suggested Courses

770 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