View Full Version : Multiple Borders With css

04-22-2011, 07:25 PM
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?

04-22-2011, 07:54 PM
Can sort of be done. This is a good explanation of how: http://nicolasgallagher.com/multiple-backgrounds-and-borders-with-css2/