Rounding corners on a finished CSS site

Discussion in 'CSS' started by spyraldesigns, Jun 28, 2007.

  1. #1
    I've looked through the forums here and I've seen all the rounding corners issues.. my question is this : what's the easiest way to add rounded corners to a site that's already finished? I don't want to completely re-write the code, but the client wants rounded corners. :rolleyes:

    Any suggestions ?

    Thanks in advance
     
    spyraldesigns, Jun 28, 2007 IP
  2. ninjamuk

    ninjamuk Peon

    Messages:
    305
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Probably depends a bit on the site. I always do my rounded corners with images.
     
    ninjamuk, Jun 28, 2007 IP
  3. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #3
    You can do it with or without images usually with a minimum of edits. If you get 'creative' in the placement of nested DIV's or spans inside or around existing elements you can usually add the styling without mussing up the layout too badly.

    Though I'd have to see to to say for sure... IF you used semantic markup, it shouldn't be a big deal at all.
     
    deathshadow, Jun 28, 2007 IP
  4. spyraldesigns

    spyraldesigns Peon

    Messages:
    174
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks for the tips :)

    I ended up using images on some parts as they were easy to change, and used the "negative margins" (described in another thread here) to change the parts that couldn't use images.
     
    spyraldesigns, Jun 29, 2007 IP