SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Evangelist
    Join Date
    May 2005
    Posts
    411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    rounded corners with border radius with 1px border

    hey, i used the css3 border-radius to round the corners, then I put an additional 1px border but the 1px does not round it stays square while the background of the div still rounds, what am I missing?

    Code:
    #pcMainArea {
    			width: 980px;
    			margin-left: auto;
    			margin-right: auto;
    			padding: 0;
    			border-collapse: collapse;
                            background-color:#FFFFFF;
                            border:1px solid #CCCCCC;
    
                           /* CSS 3 Stylings */
    
    	                -moz-border-radius: 5px;
                            -webkit-border-radius: 5px;
                            -khtml-border-radius: 5px;
                            border-radius: 5px;
    		}

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,331
    Mentioned
    463 Post(s)
    Tagged
    8 Thread(s)
    Works OK in Firefox. What browser are you viewing this in?

  3. #3
    SitePoint Evangelist
    Join Date
    May 2005
    Posts
    411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    FF3.6 and Chrome9... the 1px border stays square in FF while the inner part rounds and in Chrome it's half around and half 1px border sticking out.

  4. #4
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,331
    Mentioned
    463 Post(s)
    Tagged
    8 Thread(s)
    Weird, I don't get that in FF or Chrome (on the Mac).

  5. #5
    SitePoint Evangelist
    Join Date
    May 2005
    Posts
    411
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that's weird it does work in test html but not on real site

  6. #6
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,331
    Mentioned
    463 Post(s)
    Tagged
    8 Thread(s)
    Sounds like a conflict of some kind. Are you able to post a link?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •