Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-22-2011, 06:25 PM   PM User | #1
stevenmw
Regular Coder

 
stevenmw's Avatar
 
Join Date: Jun 2007
Location: OK
Posts: 446
Thanks: 26
Thanked 30 Times in 30 Posts
stevenmw is an unknown quantity at this point
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?
stevenmw is offline   Reply With Quote
Old 04-22-2011, 06:54 PM   PM User | #2
AnalogSF
New Coder

 
Join Date: Apr 2011
Location: UK
Posts: 29
Thanks: 0
Thanked 7 Times in 7 Posts
AnalogSF is an unknown quantity at this point
Can sort of be done. This is a good explanation of how: http://nicolasgallagher.com/multiple...ers-with-css2/
AnalogSF is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:24 AM.


Advertisement
Log in to turn off these ads.