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
    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
    Location:
    Georgia
    oh gosh. css is the only part of web design that I almost failed.
     
    danperteet, May 30, 2009
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. SwordWielder

    CSS version question

    SwordWielder, Jun 13, 2003, in forum: Web Design & Coding
    Replies:
    5
    Views:
    1,300
    SwordWielder
    Jun 21, 2003
  2. undeadpenguin

    CSS Dashed Border

    undeadpenguin, Apr 20, 2004, in forum: Web Design & Coding
    Replies:
    11
    Views:
    3,649
    undeadpenguin
    May 16, 2004
  3. undeadpenguin

    CSS stay with text

    undeadpenguin, Jul 3, 2004, in forum: Web Design & Coding
    Replies:
    9
    Views:
    1,832
    James
    Jul 4, 2004
  4. ccraft

    Css

    ccraft, Sep 19, 2004, in forum: Web Design & Coding
    Replies:
    5
    Views:
    1,205
    James
    Sep 20, 2004
  5. S Walch

    Annoying thing happening in CSS/XHTML

    S Walch, Sep 27, 2004, in forum: Web Design & Coding
    Replies:
    11
    Views:
    1,869
    S Walch
    Oct 13, 2004
  6. Jean-Paul Turcaud

    AVOID AUSTRALIA EASTERN BORDER NOW .... AT ALL COST

    Jean-Paul Turcaud, Dec 19, 2005, in forum: Computing
    Replies:
    8
    Views:
    461
    Flashes of Sky
    Dec 24, 2005
  7. JKConey

    Gray border on display?

    JKConey, Dec 17, 2010, in forum: iPhone
    Replies:
    0
    Views:
    341
    JKConey
    Dec 17, 2010
  8. Michael Chare

    AOC i2535 monitor. Black border

    Michael Chare, Feb 12, 2012, in forum: DIY Computers
    Replies:
    5
    Views:
    1,934
    viktorvrab
    Oct 9, 2012
Loading...