Rounded Corners Help

Discussion in 'CSS' started by Hobbit2, Mar 28, 2007.

  1. #1
    http://imsergio.com/newtheme/

    Can someone please help me? In FF, the rounded corners don't work, but in IE they don't. My other problem is that when you type too much text in the sidebar, the text is on the white background, not in the blue rounded corners area. I'm not sure how to explain it but feel free to download the template here. I really need help with this, thanks in advance.

    www.imsergio.com/newtheme/theme.zip
     
    Hobbit2, Mar 28, 2007 IP
  2. Valve-Hosting

    Valve-Hosting Peon

    Messages:
    1,071
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Have you used Java to round the corners?
     
    Valve-Hosting, Mar 29, 2007 IP
  3. Hobbit2

    Hobbit2 Active Member

    Messages:
    720
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Hobbit2, Mar 29, 2007 IP
  4. SolutionX

    SolutionX Peon

    Messages:
    1,161
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #4
    The two different ways you made the rounded corners are interesting, haven't seen anything about doing it that way yet, but it seems like those methods aren't widely supported. I think using corner graphics as backgrounds is well supported.
     
    SolutionX, Mar 30, 2007 IP
  5. mr_bill

    mr_bill Banned

    Messages:
    1,292
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    135
    #5
    #right{float: right;
    margin-right:20px;

    }
     
    mr_bill, Mar 30, 2007 IP
  6. Hobbit2

    Hobbit2 Active Member

    Messages:
    720
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #6
    That didn't work.:confused:
     
    Hobbit2, Mar 31, 2007 IP
  7. mr_bill

    mr_bill Banned

    Messages:
    1,292
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    135
    #7
    in your css replace

    #right{margin-left:555px;
    	
    	 
    	  }
    Code (markup):
    with this

    #right{float: right;
    margin-right:20px;
    
    }
    Code (markup):
    Worked in FF and IE
     
    mr_bill, Apr 1, 2007 IP
  8. Hobbit2

    Hobbit2 Active Member

    Messages:
    720
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #8
    Thanks a lot. Now we're getting somewhere. There's still a slight problem though, with the blank space when there's too much content.
     
    Hobbit2, Apr 1, 2007 IP
  9. mr_bill

    mr_bill Banned

    Messages:
    1,292
    Likes Received:
    110
    Best Answers:
    0
    Trophy Points:
    135
    #9
    The problem with that is your box is a gradient box and your jpg is only so big. If a solid color isn't a problem then I can propose a fix for it.

    Try this one out Possible Fix


    let me know
     
    mr_bill, Apr 1, 2007 IP
    Hobbit2 likes this.
  10. Hobbit2

    Hobbit2 Active Member

    Messages:
    720
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #10
    Thanks a lot. Well that works and it still looks good.

    EDIT: Since you said the gradient was too short, I simply made it 1000px tall, and it fixed the problem. Although if I exceed the 1000px it won't work again, but I doubt I will.

    Rep added. :)
     
    Hobbit2, Apr 2, 2007 IP
  11. SolutionX

    SolutionX Peon

    Messages:
    1,161
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #11
    how big is the file size of that background? If it's a jpeg it won't make it download faster if most of that 1000px is the same solid color, only works like that with gifs, and all of those 1000 pixels have to download even if you don't see them.
     
    SolutionX, Apr 2, 2007 IP
  12. Hobbit2

    Hobbit2 Active Member

    Messages:
    720
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #12
    Hobbit2, Apr 2, 2007 IP
  13. SolutionX

    SolutionX Peon

    Messages:
    1,161
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    0
    #13
    That could take a couple seconds to download on dialup. I would go with a 1,000 x 1px gif with 64 colors (only lose 4 colors setting it to 64), made from the center of that jpeg, like I did with the attached one. It's only about 350 bytes. Should be instant on any connection, and I bet you can't tell a visual difference. :)

    View attachment bgsidebar.zip

    I put it in a zip cause I had problems uploading it as a gif.
     
    SolutionX, Apr 2, 2007 IP
    Hobbit2 likes this.
  14. Hobbit2

    Hobbit2 Active Member

    Messages:
    720
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    60
    #14
    I can't tell the difference at all. Thanks. + Rep.
     
    Hobbit2, Apr 2, 2007 IP