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

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.
Similar Threads
  1. SwordWielder

    CSS version question

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

    CSS Dashed Border

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

    CSS stay with text

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

    Css

    ccraft, Sep 19, 2004, in forum: Web Design & Coding
    Replies:
    5
    Views:
    1,212
    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,877
    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:
    468
    Flashes of Sky
    Dec 24, 2005
  7. Michael Chare

    AOC i2535 monitor. Black border

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