Web Design and Web Development Forum

  1. #1
    cancer10's Avatar
    Join Date
    Jun 2005
    Location
    India
    Age
    29
    Posts
    498
    Rep Power
    7
  2. cancer10 is on a distinguished road
  3. Reply With Quote Reply With Quote
  4. #2
    Damien Gray's Avatar
    Join Date
    Jul 2008
    Location
    New York
    Age
    20
    Posts
    415
    Rep Power
    4
  5. Damien Gray is on a distinguished road
  6. Re: Rounded Fieldsets?

    I think you would do this, but it doesn't work in IE:

    Code:
        -moz-border-radius: 1em;
        border-radius: 1em;
    Reply With Quote Reply With Quote
  7. #3
    cancer10's Avatar
    Join Date
    Jun 2005
    Location
    India
    Age
    29
    Posts
    498
    Rep Power
    7
  8. cancer10 is on a distinguished road
  9. Reply With Quote Reply With Quote
  10. #4
    Damien Gray's Avatar
    Join Date
    Jul 2008
    Location
    New York
    Age
    20
    Posts
    415
    Rep Power
    4
  11. Damien Gray is on a distinguished road
  12. Re: Rounded Fieldsets?

    Use images and CSS...or something.
    Reply With Quote Reply With Quote
  13. #5
    cpf's Avatar
    Join Date
    Jun 2005
    Location
    Box 12 Site 5 RR1
    Posts
    2,829
    Rep Power
    9
  14. cpf is on a distinguished road
  15. Re: Rounded Fieldsets?

    If you're happy with a fixed-width (or fixed-height) rounded corner div, just make "top." "bottom," and "inbetween" slices of a PS rounded corner box, then make 3 divs, make the BG of the top one the top image, set the second one to your middle image, but repeat x, and the bottom one to the bottom image. But content in center, it'll automatically resize. Like this (thanks Calamitie for the design :))
    Orrr

    Since IE7 is still rather behind the times for some of the more fun features, you either have to use nested divs or tables (I'd recommend tables, it's easier to read).

    Quote Calamitie originally posted:
    Calamitie says:
    Noodles is a lossy teleportation framework for Noodle objects
    Reply With Quote Reply With Quote
  16. #6
    Join Date
    Dec 2007
    Location
    The Draco Supercluster
    Age
    18
    Posts
    395
    Rep Power
    0
  17. Aepos is on a distinguished road
  18. Re: Rounded Fieldsets?

    There are a few ways you could do this. You could make a cell with CSS background that includes the entire rounded-corner-fieldset image.

    A more dynamic way to do this would be to simply use seperate images and make it work with CSS. Lot's of tutorials on the web.

    Here
    and here just to name a small few.
    · · ÷¦÷ · · · ÷¦÷ · · · ÷¦÷ · · · ÷¦÷ · · · ÷¦÷ · · · ÷¦÷ · ·
    A · S · C · I · I · · A · D · D · I · C · T · I · O · N
    · · ÷¦÷ · · · ÷¦÷ · · · ÷¦÷ · · · ÷¦÷ · · · ÷¦÷ · · · ÷¦÷ · ·
    Reply With Quote Reply With Quote
  19. #7
    Join Date
    Feb 2008
    Posts
    94
    Rep Power
    5
  20. phasex is on a distinguished road
  21. Re: Rounded Fieldsets?

    Quote cpf originally posted: View Post
    If you're happy with a fixed-width (or fixed-height) rounded corner div, just make "top." "bottom," and "inbetween" slices of a PS rounded corner box, then make 3 divs, make the BG of the top one the top image, set the second one to your middle image, but repeat x, and the bottom one to the bottom image. But content in center, it'll automatically resize. Like this (thanks Calamitie for the design :))
    Orrr

    Since IE7 is still rather behind the times for some of the more fun features, you either have to use nested divs or tables (I'd recommend tables, it's easier to read).
    I agree. Although instead of using and image and repeating it horizontally like you mentioned I'd rather use a background color for the center. For small images it would'nt really mater much which way but it's nice to know your users will be downloading less images.
    Reply With Quote Reply With Quote
  22. #8
    cancer10's Avatar
    Join Date
    Jun 2005
    Location
    India
    Age
    29
    Posts
    498
    Rep Power
    7
  23. cancer10 is on a distinguished road
  24. Reply With Quote Reply With Quote