?
Solved

Changing the border color or a fieldset

Posted on 2009-06-28
3
Medium Priority
?
1,514 Views
Last Modified: 2012-05-07
Hi -

I would like to change the border color of the fieldset without loosing the rounded corner look. It seems that if I add "border-color: Blue;" to my style in IE 6-7 I loose the rounded corners.
<style type="text/css">
fieldset {    
   -moz-border-radius-bottomleft:7px;   
   -moz-border-radius-bottomright:7px;   
   -moz-border-radius-topleft:5px;   
   -moz-border-radius-topright:7px; 
   -khtml-border-radius:5px;
   -msie-border-radius:5px;
    border-radius: 5px;         
    -webkit-border-radius: 5px;
    border-color: Blue;
    
} 
</style>

Open in new window

0
Comment
Question by:doctor069
[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
3 Comments
 
LVL 13

Accepted Solution

by:
Murali Murugesan earned 500 total points
ID: 24733576
i dont think with IE we can change the border-color and still get the rounded corners.

Old article :
http://www.tyssendesign.com.au/articles/legends-of-style/

New Article:
http://www.tyssendesign.com.au/articles/css/legends-of-style-revised/

Alternate things to use ,Worth looking into
http://www.spiffycorners.com/

http://www.html.it/articoli/nifty/index.html  -- Nifty Corners

-Murali*
0
 
LVL 12

Expert Comment

by:Tony van Schaik
ID: 24733937
That's because border-radius function is CSS3 not CSS2. IE doesn't support that only Firefox, Safari/Webkit and Opera. You have to do it with some Photoshopping and normal CSS or you can go the Javascript way.
0
 
LVL 2

Expert Comment

by:SETH_HIKARU
ID: 24796482
I think I know how to keep the look but have the border color come out blue. If you could provide a test page for me so I don't have to implement my own page to solve the problem that would help me.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
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