CSS border

Discussion in 'Web Design & Coding' started by S Walch, May 30, 2009.

  1. S Walch

    S Walch MAME 0.64 :) VIP Member

    Joined:
    Jun 2, 2003
    Messages:
    1,026
    Likes Received:
    14
    Location:
    Manchester
    Now, I know you can set different colours for the different borders (top, right, bottom, left), but is it possible to set two different colours on the same one? I'm thinking, with a 2px solid border, I could have the top 1px line one colour, and the bottom 1px line a different colour.

    Google's bringing up a load of useless websites, so I'm asking here :)

    Not all that desperate for it though :)

    Edit: Never mind. Apparently this is possible by setting the border-style to groove (border-style: groove. Or, if you want it for one border: border-top: 2px groove #color; )
     
    Last edited: May 30, 2009
    S Walch, May 30, 2009
    #1
    1. Advertisements

  2. S Walch

    danperteet I broke it again. VIP Member

    Joined:
    Dec 17, 2008
    Messages:
    221
    Likes Received:
    5
    Location:
    Georgia
    oh gosh. css is the only part of web design that I almost failed.
     
    danperteet, May 30, 2009
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.