Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder stevenmw's Avatar
    Join Date
    Jun 2007
    Location
    OK
    Posts
    497
    Thanks
    27
    Thanked 31 Times in 31 Posts

    Multiple Borders With css

    Is it possible to have a div or class with two different borders? For example, having two 1px borders around the item but wth two different hex codes for borders?

    Or do I Just have to use two divs, making one slightly larger than the other?

  • #2
    New Coder
    Join Date
    Apr 2011
    Location
    UK
    Posts
    29
    Thanks
    0
    Thanked 7 Times in 7 Posts
    Can sort of be done. This is a good explanation of how: http://nicolasgallagher.com/multiple...ers-with-css2/


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •